163 Commits
Author SHA1 Message Date
Nick ca11ba380b Remove isTokenString check now that we validate URIs 2017-10-26 16:22:43 -07:00
Nick 9e8ef71339 Updates how we add images to map style
We were missing the use case when a user wants to use a custom sprite
this now checks to make sure that we only add an image to the map style
if it has a valid uri/url
2017-10-25 11:04:30 -07:00
Nick 6aa22d30b7 Adds support for PointAnnotations and Callouts on Android
This adds the ability to display custom React views in a PointAnnotation and Callout
2017-10-23 16:41:53 -07:00
Nick ca459dc07a Updated Show Map example to follow user location 2017-10-23 16:41:53 -07:00
Nick 4fe7283b11 Added support for sourceLayerID on FillLayer
Adds the missing sourceLayerID property to our FillLayer component and
added an example showing how to use a custom vector source with a FillLayer.
2017-10-23 16:41:53 -07:00
Frank Rowe 0fd93a8291 change eventtype 2017-10-23 16:41:53 -07:00
Nick 0ded5a54de Adds support for native assets as an iconImage
If you want to use any images in your geojson that are under your
drawables dir on Android and *.xcassets on iOS you now can provide
an assets key to the images prop for the ShapeSource and the native code
will add these images to the map style for you.
2017-10-23 16:41:53 -07:00
Nick c456fafefb Cleanup images once we remove source on Android 2017-10-23 16:41:52 -07:00
Nick ace082287c Added android support for iconImage token 2017-10-23 16:41:52 -07:00
Nick 1cac3eceee Normalize what None means on android for user location 2017-10-23 16:41:52 -07:00
Nick c6d4b57ed3 Use PermissionAndroid from RN instead of using Mapbox SDK permission manager 2017-10-23 16:41:52 -07:00
Nick 7b7cdbe2f5 Updated fitBounds to also accept an array so we can control padding on each side 2017-10-23 16:41:52 -07:00
Nick 8567da7253 Added support for feature querying API 2017-10-23 16:41:52 -07:00
Nick 23017f869b Monkey patched android callback support 2017-10-23 16:41:52 -07:00
Nick dbf3bbf76f Added support for attributionEnabled, logoEnabled, and rotateEnabled on mapview 2017-10-23 16:41:52 -07:00
Nick c2f6820f84 Added extra steps to android install 2017-10-23 16:41:52 -07:00
Nick ee89949407 Update documentation 2017-10-23 16:41:51 -07:00
Nick 6ab7517a3c Added all style enums as constants on module 2017-10-23 16:41:51 -07:00
Nick 5a94ab2ea6 Added support for styles to be updated dynamically 2017-10-23 16:41:51 -07:00
Nick 9bf099ffd0 Updated autogen script and code to support Light 2017-10-23 16:41:51 -07:00
Nick 8783684195 Added support for Light 2017-10-23 16:41:51 -07:00
Nick 18861c0e41 Added support for RasterLayer and RasterSource 2017-10-23 16:41:51 -07:00
Nick 0a97ab794b Added support for background layer 2017-10-23 16:41:51 -07:00
Nick bc1a3d7cbd Added android style layers and sources 2017-10-23 16:41:51 -07:00
Nick 8141f5b16b Added autogenerated style code 2017-10-23 16:41:51 -07:00
Nick 788b205aeb Added base layer and source components 2017-10-23 16:41:51 -07:00
Nick fbdcefa582 Removed old android and ios projects 2017-10-23 16:41:51 -07:00
Nick ef274081ca Removed old unused android file 2017-10-23 16:41:51 -07:00
Nick 61e9d6f954 Removed user location change events 2017-10-23 16:41:50 -07:00
Nick 58330f8298 Added support for zoomTo 2017-10-23 16:41:50 -07:00
Nick cece2867bc Updated user tracking enum names 2017-10-23 16:41:50 -07:00
Nick 73908315be Added missing base style urls 2017-10-23 16:41:50 -07:00
Nick 22ea4f9fad Added queue for camera updates and ability to set camera stops 2017-10-23 16:41:50 -07:00
Nick 74f7a3644f Updated android package name and made RCTMGLMapView inherit MapView 2017-10-23 16:41:50 -07:00
Nick d3c5f9ca46 Removed old projects after rebase 2017-10-23 16:41:50 -07:00
Nick 967cef979d Map events and methods 2017-10-23 16:41:36 -07:00
Nick 29a70dc421 Added complete callback for flyTo 2017-10-23 16:41:36 -07:00
Nick 01fcc839f7 Added support for map change events and flyTo 2017-10-23 16:41:36 -07:00
Nick b8d0d53585 Added support for min/max zoom level, scroll/pitch enabled disabled 2017-10-23 16:41:36 -07:00
Nick 659018facc Added support for onPress and onLongPress 2017-10-23 16:41:36 -07:00
Nick 2d0261ddd1 Android file cleanup 2017-10-23 16:41:36 -07:00
Nick ab8600cede Added start of android rewrite 2017-10-23 16:41:36 -07:00
Nick f39d92953a Removed old android and ios projects 2017-10-23 16:41:36 -07:00
Henrik Raitasola 19049fa61d Fix wrong project name 2017-09-25 10:25:11 +03:00
Nick 185f308500 Updated docs to use scoped npm package 2017-09-21 10:17:33 -07:00
Andie Shining Phan 38c850296d Fix gradle link manual instructions 2017-09-20 15:36:26 -07:00
Jack Feng 1d3c15b4e7 upgrade android compile sdk version to 24 2017-09-01 10:11:20 +08:00
Jack Feng ac31979da4 change getMetricsEnabled to return a promise
After upgrading to Android SDK 5.0, we cannot put metricsEnabled to
constants of the module. So we change getMetricsEnabled to return a
promise instead of value directly.
2017-09-01 10:10:27 +08:00
Jack Feng 91074ef739 Upgrade to Mapbox Android SDK 5.0.2
TODO: We cannot get metricsEnabled before initialize the mapbox. So we
should change it from constant to property maybe.
2017-09-01 10:10:26 +08:00
Nick Italiano f4402cdae2 Merge pull request #571 from atarsha/Add-MGLOfflinePackState
Expose OfflineRegion/OfflinePack pack state in progress object and add resume/suspend offline download support
2017-08-29 11:50:41 -07:00