How do I calculate a radius in 1 address, and how can I create an alert if the point is outside the radius?

1

Good afternoon.

Next, I have a point that is my location in google maps, and I would like to draw a radius of, for example, 500 meters from that point, and also, know if the point leaves that address, create an alert. >

Thank you.

    
asked by anonymous 10.08.2016 / 21:15

1 answer

0

this way

            circle = new google.maps.Circle({strokeColor: '#FF0000',strokeOpacity: 0.8,strokeWeight: 2,fillColor: '#FF0000',fillOpacity: 0.35,map: map,center: centro_raio,radius: raio});
    
05.09.2016 / 21:28