I want to display Geojson data on a map to draw polygons and points I used Flutter_map library: ^4.0.0
I tried converting from geojson to latlng and did not find a way The libraries that should help me are very old
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [longitude, latitude]
},
"properties": {
"name": "point name",
"description": "point desc"
}
}
]
}
Here is an example code, which you may change according to your needs:
I use these 3 package:
Sample Result
The example code