AnsweredAssumed Answered

How to plot GeoJson Data on map using javascript api.

Question asked by cyient.nam on Sep 17, 2017
Latest reply on Sep 18, 2017 by rscheitlin

I have geo json data in in below format:-

var geoData = {
'type': 'Feature',
'geometry': data[i].geometry,
'properties': {      
      'id': data[i].id,
     'date': data[i].date,
     'reason': data[i].reason,
    'distance': data[i].distance
      }
 }

I want to know how to plot this geojson data on the map as a feature and when the user clicks on that feature, map pop should show some basic information which is there in properties.

 

Outcomes