in case you want to see the map: http://www.atitd.org/wiki/tale4/Google_Maps

On Dec 17, 12:47 pm, Hannes <[email protected]> wrote:
> Hello,
>
> I have created my own GProjection to deal with a game map with a
> coordinate system from -8192 to +8192. Placing markers works fine, but
> GPolygon doesn't draw correctly.
>
> // Works fine
> marker = new GMarker(new GLatLng(1000, 1000, true), {  'title': 'Test
> marker at 1000 1000'});
> map.addOverlay(marker);
>
> // draws way too small
> map.addOverlay(new GPolygon( [ new GLatLng(-1000, 1000, true), new
> GLatLng(-1000, -1000, true), new GLatLng(1000, -1000, true), new
> GLatLng(1000, 1000, true), new GLatLng(-1000, 1000, true) ],
> '#770077', 6 , 1, '#668800', 0.73333333333333, {'clickable': false}));
>
> It seems that GPolygon ignores the unbounded property of the GLatLng
> objects.
>
> Or maybe I'm doing something wrong? Any ideas?
>
> --Hannes
--~--~---------~--~----~------------~-------~--~----~
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