[OpenLayers-Users] Problem with Overview Map Fixed Extent

LOHAMANOJ SIVAKUMAR gis.slokam at gmail.com
Tue Oct 23 06:07:46 PDT 2012


Hi List,

Am Experiencing some issues in overview map.

I want to add the fixed extent for the custom layer which i have
incorporated in the Overview map.

My Code:
var over_view = new OpenLayers.Control.OverviewMap({
theme: false,
layers: [My_Bou],
 maximized: true,
autoPan: false,
mapOptions: {maxExtent: new OpenLayers.Bounds(8094808,2141279,
8122454,2161825)                 }
                       });

When am Providing the MaxExtent its not getting fixed inside the Overview,
only the Half-Quadrant of the image is getting rendered in the Overview map
even then its not fixed to the extent which i have set.

Please provide some Code sample - where and how to implement the OverView
map with - fixed extent.
-- 
With Regards,
Lohamanoj S,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121023/25e6bf69/attachment.html>


More information about the Users mailing list