Hi Mike,

Thanks for your immediate response. But I am still not getting it ...
=(
sorry for any trouble...

What I want is to draw a rectangle by a GLatLngBounds object.
So I can easily calculate the center GLatLng from the GLatLngBounds
object but what about the r_ parameters?
How can I calculate them by just knowing the SW and NE edges GLatLng
objects?

If u can please clarify this, u would help me a lot.
tia

nikos





On 9 Σεπτ, 20:43, Mike Williams <[EMAIL PROTECTED]> wrote:
> r1 is the radius in the first direction (North if you're not applying a
> rotation) to be used for odd numbered points.
>
> r2 is the radius in the second direction (East if you're not applying a
> rotation) to be used for odd numbered points.
>
> r3 is the radius in the first direction to be used for even numbered
> points.
>
> r4 is the radius in the second direction to be used for even numbered
> points.
>
> So, if you want to draw a circle or a regular polygon, you would set
> them all to the same value.
>    GPolygon.Shape(point,10,10,10,10,...
>
> If you want to draw an ellipse you would set r1 and r3 to the length of
> one semi-axis and r2 and r4 to the length of the other.
>    GPolygon.Shape(point,10,5,10,5
>
> If you're drawing a symmetrical star, then you'd set r1 and r2 to the
> radius to the points and r3 and r4 to the radius of the troughs
>    GPolygon.Shape(point,10,10,5,5,...
>
> --http://econym.googlepages.com/index.htm
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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