[OpenLayers-Users] Drawing polygons issue with google maps

Christopher Schmidt crschmidt at metacarta.com
Sun Apr 13 09:06:31 EDT 2008


On Sun, Apr 13, 2008 at 12:47:51PM +1000, Zac Spitzer wrote:
> In the regularPolygons example, if you switch the base layer to
> google, you can't
> draw beyond a certain resolution, the polygons get created but not
> drawn on screen,
> if you zoom back in in they appear.
> 
> Also if you draw a polygon say over Africa, and then start to pan
> across the globe, the
> polygon then starts to re-appear in different places all over the map?

My first answer to any and all Google problems is likely to be "Does it
happen when you use Spherical Mercator?"

In this case, the answer is a resounding 'no': So I'd suggest that you
use spherical mercator with any Google layer you plan to draw on top of.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list