Coordinates a south-west corner for polygon.

30 views
Skip to first unread message

Ринат Раимов

unread,
Nov 30, 2011, 11:24:15 AM11/30/11
to google-map...@googlegroups.com

Could you tell me how i can get coordinates a south-west corner in polygon?. I'm using  drawing library. Thanks

Rossko

unread,
Nov 30, 2011, 3:06:40 PM11/30/11
to Google Maps JavaScript API v3
> Could you tell me how i can get coordinates a south-west corner in
> polygon?. I'm using  drawing library. Thanks

An arbritary polygon may not have a single "south-west corner"
everyone could agree about.
One approach might be to get the bounds of the poly, and compare each
of the poly vertices to see which one is closest to the bounds sw
corner.

Reply all
Reply to author
Forward
0 new messages