Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Refactoring Isochrone example to add time label toggle #1087

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

langsmith
Copy link
Contributor

@langsmith langsmith commented Jun 4, 2019

Born out of mapbox/mapbox-gl-native#14843, this pr adds the option to show SymbolLayer text time labels on the isochrone area lines. Each Feature in the Isochrone API response includes a contour item, so textField(concat(get("contour"), literal(" MIN"))), is the key part to showing the label

ezgif com-resize (2)

@langsmith langsmith force-pushed the ls-adding-time-label-toggle-to-isochrone-example branch from 2e0f3a3 to aca6a3e Compare June 4, 2019 19:00
@langsmith langsmith merged commit b905e55 into master Jun 4, 2019
@langsmith langsmith deleted the ls-adding-time-label-toggle-to-isochrone-example branch June 4, 2019 19:46
@langsmith langsmith mentioned this pull request Jun 13, 2019
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants