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

Possible to use omnivore to populate popup info? #13

Closed
tdaubs opened this issue Mar 21, 2014 · 1 comment
Closed

Possible to use omnivore to populate popup info? #13

tdaubs opened this issue Mar 21, 2014 · 1 comment

Comments

@tdaubs
Copy link

tdaubs commented Mar 21, 2014

Is it possible to use omnivore to parse other data in a CSV file other than just lat and long? For instance, if I want to populate popups with info from the csv or even customize the marker based on csv data, is this possible with omnivore? If so, is there any documentation or code samples on how that can be accomplished?

@tmcw
Copy link
Contributor

tmcw commented Mar 21, 2014

This is the same as customizing any marker layer, just that you need to wait for the ready event. Here are examples: https://www.mapbox.com/mapbox.js/example/v1.0.0/markers-from-csv-custom-style/ & https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml-tooltip/

@tmcw tmcw closed this as completed Mar 21, 2014
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

2 participants