Google Map With Multiple Markers -
i creating search module website have own database along coordinates(lat,long). plotted coordinates search result on google map, problem want show marker more prominent or bigger nearest user among other points. how can done, website in php. thanks!
first you'll have latlng database, once customer got create (invisible) markers, having done that, google has google.maps.geometry.spherical.computedistancebetween
returns distance between 2 latlng, frist latlng geolocation, second latlng of database, save distance in array , recover lowest value.
look @ example fiddle
Comments
Post a Comment