I have PHP
API (http://localhost/api.php) that gives data in GeoJSON
format, how can I show that GeoJSON
data on Google map ?
Dragging & Dropping GeoJSON
data on map is not allowed.
geojsongoogle mapsPHP
I have PHP
API (http://localhost/api.php) that gives data in GeoJSON
format, how can I show that GeoJSON
data on Google map ?
Dragging & Dropping GeoJSON
data on map is not allowed.
Best Answer
You can use
Ajax
andleaflet
for displayingGeoJSON
data. Here is a detailed example of GeoJSON in leaflet.You have to modify 'Ajax' given below according to your php.