8 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 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 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 e0bc2c1f01 Added exampe 2017-10-23 16:41:52 -07:00
Nick b02ec3c461 Updated RCTMGLStyle to init with an MGLStyle to make setting images easier 2017-10-23 16:41:52 -07:00
Nick 9bf099ffd0 Updated autogen script and code to support Light 2017-10-23 16:41:51 -07:00
Nick c1268f4f75 Script to autogenerate styles and docs 2017-10-23 16:41:51 -07:00