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

Mapbox GL support #103

Open
rupl opened this issue Nov 6, 2017 · 2 comments
Open

Mapbox GL support #103

rupl opened this issue Nov 6, 2017 · 2 comments

Comments

@rupl
Copy link

rupl commented Nov 6, 2017

Hi, I have happily used Mapbox and Omnivore together on my personal site for a couple years. They make a fantastic pair and I was hoping to continue using Omnivore while switching to Mapbox GL.

Since Omnivore is advertised as a glue library, I assumed its GeoJSON output can be consumed by MapboxGL as well, but I can't quite figure out the incantation to get it working.

I see some hardcoded references to L.geoJson() in Omnivore when no additional args are given to the parsing function. Since layer is something that can be passed in, I thought maybe I could override but nothing I tried seems to be working. Code-wise, I'm basically using the Omnivore example found here: https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml-tooltip/

@lukemiller
Copy link

Ditto. Let me know if you figure anything out.

@thesocialdev
Copy link

+1 to that request if it's not done yet

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

3 participants