#GeoJson I’m learning how to add an external geojson file to a map. Well, I’ve managed to do that, I can add markers, I can add a polygon, and I can add a line. However, if I add them all from one file, the markers aren’t clickable or stylized. I don’t know how to style specific geometries from one file.
###Update While working on this post I managed to get the markers clickable, I just used the same code I used for an object that was only points. On the map I call them markers, when they are in the Json file I call them points, they are actually multipoints in the Json file. You can have a point or you can have more than one multipoints.
Here is the map I’m testing out:
I add the data from the Json file this way:
Next, I’ll see if I can figure out how to style the polygon.