longitude values are about -176, 173.

latitude values are about 56, -61

On Aug 7, 4:11 pm, "[email protected]" <[email protected]>
wrote:
> On Aug 7, 6:42 am, frankie <[email protected]> wrote:
>
>
>
>
>
> > Hi guys,
> > I'm experiencing the following problem: I'm trying to show some
> >polygonson mars map but some of them are drawn in the wrong way. Let
> > me explain with an example: my polygon has the western lng at abou
> > -176° and the western lng at about 172.
> > I would like to have a polygon that covers almost all the map. The
> > polygon displayed fills only a little region on the left side of the
> > map and a little region on the right side. It is displayed in the
> > wrong way! (look examples following the links)
>
> > The drawn polygon is the 
> > following:http://solarsystem.asdc.asi.it/examples/how_is_drawn.png
>
> > The polygon I would like to have is the 
> > following:http://solarsystem.asdc.asi.it/examples/how_should_be_drawn.png
>
> > The following code is used to display the polygon:
> > var northEastPoint = new GLatLng(maxLatValue,eastLngValue);
> > var northWestPoint = new GLatLng(maxLatValue,westLngValue);
> > var southWestPoint = new GLatLng(minLatValue,westLngValue);
> > var southEastPoint = new GLatLng(minLatValue,eastLngValue);
> > var obsRegion = new GPolygon
> > ([northEastPoint,northWestPoint,southWestPoint,southEastPoint,northEastPoin­­t],"#f33f00",
> > 1, 1, "#ff0000", 0.2);
> > map.addOverlay(obsRegion);
>
> What are the values of maxLatValue, eastLngValue, westLngValue,
> minLatValue, eastLngValue?
>
>   -- Larry
>
>
>
>
>
> > I also tried to change the order of the points within the GPolygon
> > declaration but it didn't work.
>
> > Can anyone tell me how to solve this problem?
>
> > Thanks in advance!- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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