According to these parameters:

var centerPt = normalProj.fromLatLngToPixel(centerMarker.getPoint(),
zoom);
var radiusPt = normalProj.fromLatLngToPixel(radiusMarker, zoom);
radius =  floor(sqrt(pow((centerPt.x-radiusPt.x),2) + pow((centerPt.y-
radiusPt.y),2)));

I woud like the radius in km
What is the good formula ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to