Mapbox: The List Does Not Work When I Try To Change The Lat/long Of The Geojson Objects
I tried out this code and it works perfectly, until I try to change the position of the markers. For example, in the geojson array, I changed the first variable's properties and wh
Solution 1:
It seems you have swapped your latitude and longitude:
"coordinates":[34.022591187904126,-118.28702688217165]
That's invalid, the latitude now exceeds the boundaries of -90/90 and the map doesn't know what to do with that. If you swap them, it works perfectly:
"coordinates":[-118.28702688217165,34.022591187904126]
Post a Comment for "Mapbox: The List Does Not Work When I Try To Change The Lat/long Of The Geojson Objects"