All Projects → hyperloop-modules → hyperloop-mapbox

hyperloop-modules / hyperloop-mapbox

Licence: other
Use the native Mapbox SDK with Axway Hyperloop.

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to hyperloop-mapbox

abifestival-app
Cross-platform festival-app built with the Appcelerator Titanium framework
Stars: ✭ 16 (+14.29%)
Mutual labels:  titanium
ti.paint
Touch-based painting with the Titanium SDK.
Stars: ✭ 27 (+92.86%)
Mutual labels:  titanium
ti.locationservices
Titanium Location Services Module for Android
Stars: ✭ 13 (-7.14%)
Mutual labels:  titanium
titanium-material
Use the native Material UI/UX framework (https://github.com/CosmicMind/Material) in Titanium!
Stars: ✭ 14 (+0%)
Mutual labels:  titanium
titanium-socketio
Use the native Socket.io SDK's with Axway Titanium.
Stars: ✭ 25 (+78.57%)
Mutual labels:  titanium
To.BounceView
A bouncing view widget for Titanium
Stars: ✭ 49 (+250%)
Mutual labels:  titanium
titanium-es6-sample
An ES6+ sample app for Appcelerator Titanium.
Stars: ✭ 11 (-21.43%)
Mutual labels:  titanium
hyperloop
High Performance Hyperloop Pod Control Software
Stars: ✭ 14 (+0%)
Mutual labels:  hyperloop
TiFastlane
With TiFastlane you'll be able to fully optimize the way you submit your app updates and maintain your certificates and provisioning profiles of all your Titanium Apps.
Stars: ✭ 83 (+492.86%)
Mutual labels:  titanium
titanium-apple-sign-in
Use the iOS 13+ Apple Sign In API with Titanium
Stars: ✭ 29 (+107.14%)
Mutual labels:  titanium
av.imageview
Titanium native ImageView module that extends the default Titanium ImageView with more capabilities and a different caching system.
Stars: ✭ 97 (+592.86%)
Mutual labels:  titanium
ti.coremotion
Support for the native iOS CoreMotion framework in Appcelerator Titanium
Stars: ✭ 15 (+7.14%)
Mutual labels:  titanium
staballoy
Reactive UI framework for Titanium Alloy
Stars: ✭ 18 (+28.57%)
Mutual labels:  titanium
ti.map
Use native Apple Maps & Google Maps in iOS and Android with Axway Titanium
Stars: ✭ 49 (+250%)
Mutual labels:  titanium
titanium-arkit
Use the iOS 11 ARKit API in Axway Titanium
Stars: ✭ 28 (+100%)
Mutual labels:  titanium
titanium-speech
Use the iOS 10 SFSpeechRecognizer API in JavaScript with Appcelerator Hyperloop.
Stars: ✭ 21 (+50%)
Mutual labels:  hyperloop
ti.playservices
Titanium module for Google Play Services
Stars: ✭ 19 (+35.71%)
Mutual labels:  titanium
ti recover
Appcelerator Titanium APK source code recovery tool
Stars: ✭ 17 (+21.43%)
Mutual labels:  titanium
titanium-dark-mode
Full support for iOS 13+ / Android 10+ dark mode (semantic colors and images) in Appcelerator Titanium
Stars: ✭ 26 (+85.71%)
Mutual labels:  titanium
nl.fokkezb.button
Bootstrap Button widget for Appcelerator (Titanium)
Stars: ✭ 72 (+414.29%)
Mutual labels:  titanium

Mapbox SDK in Titanium and Hyperloop

Use the Mapbox SDK (iOS and Android) in Axway Hyperloop! This is an example of using the SDK, so this does not expose all possible API's of the SDK. See the official documentation for details.

Note: The examples here are written in ES6 (enable with <transpile>true</transpile> in your tiapp.xml) and Titanium SDK 7.1.0. You can still use it with Titanium 7.0.x and classic ES5 if you want!

Mapbox SDK in Axway Hyperloop

Features

View

import MapBox from 'ti.mapbox';
const mapView = MapBox.createView({
  region: {
    latitude: 52.020388,
    longitude: 9.580078,
    animated: true
  }
});

myWindow.add(mapView.getInstance());

Annotation

const annotation = Mapbox.createAnnotation({
  latitude: 52.020388,
  longitude: 9.580078
});

mapView.addAnnotation(annotation.getInstance());

iOS Configuration

Add the following tags to your plist-section of the tiapp.xml and change YOUR_MAPBOX_ACCESS_TOKEN to your actual access token

<!-- Mapbox configuration -->
<key>MGLMapboxAccessToken</key>
<string>YOUR_MAPBOX_ACCESS_TOKEN</string>

<!-- General Geolocation permissions -->
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we access your location while using the app?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Can we access your location?</string>

Android Configuration

  1. Place your access token in Resources/android/ti.mapbox/index.js
  2. Ensure you have installed at least Gradle 4.1 by running brew install gradle and brew update gradle
  3. Run gradle to pull down the necessary android libraries into platform/android:
gradle getDeps
  1. Now build!
appc run -p android

License

Apache 2.0

Authors

  • Hans Knöchel (Axway Appcelerator)
  • Chris Williams (Axway Appcelerator)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].