Open mikima opened 6 years ago
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. Happy to work on a PR if you want to add it back again
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