Commit Graph
5 Commits
Author SHA1 Message Date
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 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