Thanks. So the trick of putting 6 points does not work. In my example, I added two more points passing by meridian 0, but they do not get considered.
I do not understand why. Cheers, Sergio On Oct 12, 7:25 pm, Marcelo <[email protected]> wrote: > As Rossko explained earlier, polygons take the shortest path around > the world. > Therefore, you cannot go all around with one single polygon, but you > can do it with two > polygons:http://maps.forum.nu/temp/gm_WorldWide_Polygon.html > > -- > Marcelo -http://maps.forum.nu > -- > > On Oct 12, 7:00 pm, "Sergio A." <[email protected]> wrote: > > > > > On Oct 12, 5:10 pm, Marcelo <[email protected]> wrote: > > > > > any hint? > > > Here's a > > > hint:http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...... > > > I apologize for not having followed the guidelines. > > > Wish: given four points of a rectangle, I want to draw it even though > > it spans all the planet > > Problem: Polygons wrap round the world the shortest way, so, with for > > points I cannot draw an area like > > > top-left: (90,-170) > > top-right: (90,170) > > bottom-left: (-90,-170) > > bottom-right: (-90,170) > > > I tried to add two more points as suggested, but it does not seems to > > work:http://sergioandreozzi.com/test/ > > > any hint on this? > > > Thanks, Sergio --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
