[OpenLayers-Users] OverviewMap - a layer with the same slices but smaller size

Dragos Ion dragospenet at yahoo.com
Sun Dec 6 08:37:32 EST 2009


Hi,

just wondering if it's possible to use the same slices of the map but with a smaller size for the OverviewMap (meaning the <img> tag to have let's say 1/4 from the normal map size). If so, I should be able to use the same slices for the OverviewMap.

I want this because the zoom level 0 it's big enough to not be 100% in view of the map and thus the OverviewMap shows only a small part of the map.

I tested if it's possible to have a smaller slice than the actual size of the slice's image and it's working for the main layer of the map (zooming and panning are all ok) but once I set OverviewMap to use a layer with this setup, the OverviewMap stop working, it displays the samller map but it does not respond to the map panning and zooming anymore.

It's there a problem having a smaller size for the layer (maxExtent and the slices) on the OverviewMap (1/4 of the map itself in my case)?

Dragos.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091206/ca5517ba/attachment.html


More information about the Users mailing list