28 Commits
Author SHA1 Message Date
Nick 70f4a1cfba Made Callout methods private 2017-10-23 16:41:53 -07:00
Nick 65d25b447c Adds PointAnnotation and Callout JS components 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
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 284fc4a0ab Fixes SymbolLayer textOffset and iconOffset on iOS
There seem to be some styles that will be special cases to the rules used from the json spec
this PR adds the ability to add overrides, so we can be flexible in special cases. In this case
we were using a NSArray for textOffset and iconOffset when it should be a CGVector.
2017-10-23 16:41:52 -07:00
Nick 16554ca8fc Update ShapeSouce JS component to include images 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 fa93ed332f Lint and updated stylesheet unit tests 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 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 cd3d89eacf Lint 2017-10-23 16:41:51 -07:00
Nick 9872f10763 Added javascript style layers and components 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 98636c60e3 Linted example project 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 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 5c7489c965 Added eslint 2017-10-23 16:41:36 -07:00
Nick ed0398d99d Added start of javascript components 2017-10-23 16:41:36 -07:00