> Below is my function for drawCircle. So I have convert it to > something like this var newRadius = radius/0.000621371192;
That converts miles to metres. It's not clear what you want, are you trying to draw a ten mile circle or a ten metre circle? To convert metres into miles use var newRadius = radius / 1609.344 ; > extp.push(new GPoint(ex, ey)); You're using an old v1 API version of the drawCircle script. Don't use GPoint http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPoint Use GLatLng instead of GPoint - but note the lat and long should be given the other way around. http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLatLng Might well be other problems, but as usual, no link to the code you are working on means you only get guesses. You've posted here more than enough to know this by now. -- 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.
