netjsongraph.js icon indicating copy to clipboard operation
netjsongraph.js copied to clipboard

[feature] Add support for GeoJSON

Open totallynotvaishnav opened this issue 3 years ago • 0 comments

We have to add support for loading map data using GeoJSON in the geographic map feature. The steps involved are:

  • Accept a new parameter GeoDataParam when creating the NetJSONGraph instance which points to the GeoJSON data.
  • Create a new function to parse this link and load GeoJSON data in netjsongraph.utils.js.
  • Add a new property to NetJSONGraph called GeoData.
  • Render the GeoData using geoJSON method of leaflet library.

totallynotvaishnav avatar May 29 '22 19:05 totallynotvaishnav