AnsweredAssumed Answered

Leaflet + GeoJSON = Help

Question asked by cwholmes on Feb 24, 2015
Latest reply on Feb 26, 2015 by oearley


Hello everyone,

 

I am investigating leaflet as a means of displaying point data from a GeoJSON file on a map. The coordinate system used in the GeoJSON file is not WGS84 geographic coordinates, so it is my understanding that leaflet should work for what I am trying to do.

 

The first thing I need to do is reach out to a server url which returns the GeoJSON file, then I guess loop through the data in that file to display all the points on the map.

 

Using the GeoJSON help page on the leaflet site (Using GeoJSON with Leaflet - Leaflet - a JavaScript library for mobile-friendly maps ) I think I can figure out how to plot points.

 

What I'm having problems wrapping my head around is the first step of reaching out to the server url, getting the file and looping through the records.

 

Thanks all, any and all help much appreciated.

Chris

Outcomes