Hello,
I use a short function like that to draw a circle (full or not) :
cercle.graphics.clear();
cercle.graphics.lineStyle( 1, 0xFF6F00 );
cercle.graphics.beginFill( 0xFFBA01, 0.4 );
if(fin-deb==360) cercle.graphics.moveTo(dx,dy);
else cercle.graphics.moveTo(0,0);
for(var i:int = deb; i<= fin; i++)
{
dx = rayon * Math.cos(i*Math.PI/180);
dy = rayon * Math.sin(i*Math.PI/180);
cercle.graphics.lineTo(dx, dy);
}
How can I convert this point (dx, dy) in latLng to draw my camembert
with the google API ?
Tanks for reply !
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" 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-for-flash?hl=en.