Reputation: 61
I want to archive this functionality of a dynamic map such when we select place then it will display in map
If we zoom the map then the list will also refresh such that it display only those places which are in current map
If we click on next 10 places it will load new map accordingly
By using what and how it is going to be possible for me to do that in PHP?
Upvotes: 1
Views: 1281
Reputation: 2725
Basically you have to use Google Maps v3 JavaScript API. It's scriptable (as in dynamic) and can do everything you have described (together with PHP for data).
bounds_changed
event and display a marker for every place that fits within map bounds (AJAX query, whatever).map.getBounds()
bounds.Upvotes: 1
Reputation: 1858
Try to read about
They are all helpfull for dynamic and static maps.
You may also see this tutorial about Google Maps.
Upvotes: 0