i have got Geo locations. i am trying to mark this location into Google map. please suggest me the best method. I have all locations in array that i want to use in the Google map
Array
(
[0] => 51.508742, -0.134583
)
Array
(
[0] => 38.410558, 17.314453
)
https://developers.google.com/maps/documentation/javascript/overlays#Markers
It would probably be easier to set up your array to contain an array with latitudes and longitudes in different elements rather than one string as it seems you may have.