[OpenLayers-Users] Disappear layers with large scale google maps

Christopher Schmidt crschmidt at metacarta.com
Tue Feb 13 07:41:24 EST 2007


On Tue, Feb 13, 2007 at 07:26:25PM +0900, Ishikawa Hiroshi wrote:
> Dear all,
> 
> I'm facing a problem that a layer disappear when I use with large scale google maps.
> We can see this problem on the page that is an openlayers official example page.
> http://openlayers.org/dev/examples/google.html
> 
> There is a world map(coast line) layer on the page.
> When I zoom in the largest zoom level or the 2nd largest zoom level
> the check box become a disable status.
> 
> Is this a bug or a regulation of google maps?

This is a bug. You can change the behavior by adding 'numZoomLevels: 20'
or something similar to your overlay when creating the layer. (This
should be added as an option to the layer.) 

I'll file this as a bug to get fixed in 2.4.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list