-
Notifications
You must be signed in to change notification settings - Fork 104
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
how to display geojson polygons #15
Comments
Here is an example of how to load a geoJSON file: It was on a previous version, I removed it and then forgot to add it to the new website. |
Thanks! |
Tried to play with it a little bit. But I don't understand what the advantage is in using myMap.geoJSON instead of just cycling through the JSON file itself. Is there something i'm missing? |
It's a super simple wrapper around geoJSON file, just for the convenience of skipping some parts of the original file |
i see. it's a pity yo loose access to the linked data. would be nice to have buil-in functions that directly create graphic items. |
open to contributions! happy to help add this functionality |
I'm trying to load a geoJson containing several features (polygons and multi polygons) with data attached.
I't not clear to me, however, how to display them using mappa.
the API documentation explains how to load them but not how to display them.
Also, i have issue loading the geojson itself. When I try to laod polygons i get this error:
Could you provide a simple example?
thanks
The text was updated successfully, but these errors were encountered: