Skip to content
Advertisement

Tag: google-maps

marker cluster locations from database

i have been useing a map with markers from sql db and would like to add marker clusters as i get more markers. on it self the code for the map and the code for the marker cluster from https://developers.google.com/maps/documentation/javascript/marker-clustering#maps_marker_clustering-javascript works fine, i have tried to combain them and keep geting a map with no markers . this is the

Get location from latitude and longitude in PHP

I want to get address, city, state and country in different variables so that I can display it separately but due to different latlong, somewhere I am getting whole address and somewhere only state and country, so I am not able to get a specific address due to changing latlong. Here is my code: Answer Try Below one:

Advertisement