Hi,
I am not quite sure what the problem is.
Here is some working code from me, maybe you try this:
var options_ovmap = {
mapOptions: {
projection: map.getProjection(),
maxExtent: map.getMaxExtent(),
numZoomLevels: 1
},
layers: [ov_ovmap] // PUT HERE A VALID AND VISIBLE LAYER
};
var overviewMap = new OpenLayers.Control.OverviewMap(options_ovmap);
overviewMap.div = document.getElementById("overviewMapDiv"); // REPLACE
HERE YOUR DIV
Best Regards,
Chris
Am 23.03.2011 23:16, schrieb vrbikdan:
Hi,
no, I set it correctly, 'cause longitude in the Czech Republic is around 15°
and lattitude around 50°, so no, this is set correctly.
Dan
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/problem-with-overview-map-tp6190056p6202139.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users