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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -