Skip to content Skip to sidebar Skip to footer

Plotting Geojson Points In Html

I am creating a webmap similar to the example here example, but with my data. My geojson points won't display like the examples, here's what my geojson file points.geojson looks li

Solution 1:

I would say that your points do appear, but not where you expect them to.

GeoJSON format expects coordinates in the order [longitude, latitude]. Leaflet then internally reverses this order, since it uses [latitude, longitude].

But you still need to feed a GeoJSON compliant data.

Post a Comment for "Plotting Geojson Points In Html"