[Users] Add overview map to mappanel

Robert Buckley robertdbuckley at yahoo.com
Wed Feb 22 08:29:45 CET 2012


Hi,

I want to add an overviewmap with an rectangle showing the current extent of the mappanel and one wms layer as reference.

I read this...

http://www.geoext.org/pipermail/users/2010-February/000593.html 


But cannot see where the following should be place...


addOverview: = function() {
var mapOptions = { maxExtent: new OpenLayers.Bounds(180000, 397000,200000, 414000), maxResolution: 500, projection: "EPSG:28992", units: "m" };


..is this part of a panel, or the mappanel?

does anyone know where this should go...or is there a better method to produce a simple yet effective overview map?

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120222/607cf965/attachment.htm 


More information about the Users mailing list