I have geo json data in in below format:-
var geoData = {
'type': 'Feature',
'geometry': data.geometry,
'properties': {
'id': data.id,
'date': data.date,
'reason': data.reason,
'distance': data.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.