Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load map style as JSON to pass to react map gl #25

Closed
kylebarron opened this issue Jan 23, 2020 · 1 comment
Closed

Load map style as JSON to pass to react map gl #25

kylebarron opened this issue Jan 23, 2020 · 1 comment

Comments

@kylebarron
Copy link
Member

Right now, I'm passing URL strings to react map gl/deck.gl. It would reduce the complexity of nst-guide/osm-liberty-topo to have only two styles: the default (style.json) and the hybrid (style-hybrid.json). I should be able to switch between png/webp, meters/feet, and insert the aerial/fstopo layers in JS code instead of manually doing those ahead of time in the JSON styles.

I'd still want a style-hybrid.json because some layers are styled differently above the aerial imagery.

@kylebarron
Copy link
Member Author

Fixed with 3f1ed17, but it would still be nice to update this to not have separate webp/png styles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant