Skip to content

Minor corrections in style spec documentation - #5959

Closed
1ec5 wants to merge 1 commit into
masterfrom
1ec5-style-spec-doc-nits
Closed

1ec5 wants to merge 1 commit into
masterfrom
1ec5-style-spec-doc-nits

Conversation

@1ec5

@1ec5 1ec5 commented Jan 6, 2018

Copy link
Copy Markdown
Contributor

Made two small changes to the style specification JSON to facilitate better codegen results in mapbox/mapbox-gl-native#10850:

  • icon-offset uses backticks around the reference to icon-size so that icon-size can become iconScale on iOS/macOS.
  • Indicated that {token} replacement is also unavailable in data expressions. At least that’s the case in the native implementation; not sure about GL JS.

/cc @jfirebaugh

@1ec5 1ec5 added cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) docs 📜 labels Jan 6, 2018
@1ec5 1ec5 self-assigned this Jan 6, 2018
@1ec5
1ec5 requested a review from jfirebaugh January 6, 2018 02:14
@1ec5

1ec5 commented Jan 6, 2018

Copy link
Copy Markdown
Contributor Author

Closing in light of #5958 and #5600.

@1ec5 1ec5 closed this Jan 6, 2018
@jfirebaugh
jfirebaugh deleted the 1ec5-style-spec-doc-nits branch February 22, 2018 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) docs 📜

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant