[OpenLayers-Users] Problem with Overview Map Fixed Extent
slohamanoj
gis.slokam at gmail.com
Mon Nov 5 23:30:47 PST 2012
This is my Final Code Which Saved Me!!!
var overviewoptions = {
maxExtent: new OpenLayers.Bounds(8084684,2137755, 8137144,2179223),
restrictedExtent: new OpenLayers.Bounds(8084684,2137755, 8137144,2179223),
projection: new OpenLayers.Projection("EPSG:900913"),
numZoomLevels: 1,
units: "m"
};
var over_view = new OpenLayers.Control.OverviewMap({
theme: false,
layers: [My_Bou],
maximized: true,
autoPan: false,
size: new OpenLayers.Size(130,100),
mapOptions: overviewoptions
});
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Problem-with-Overview-Map-Fixed-Extent-tp5010491p5014212.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list