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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -