[Users] Add overview map to mappanel
Vidal, Antoni
antoni.vidal at icc.cat
Wed Feb 22 09:24:09 CET 2012
Hi,
You could add your overview to the map object in the same way that OL...
Regards,
Antoni Vidal
Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya <http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392>
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/>
De: users-bounces at geoext.org [mailto:users-bounces at geoext.org] En nom de Robert Buckley
Enviat: miércoles, 22 de febrero de 2012 8:30
Per a: users at geoext.org
Tema: [Users] Add overview map to mappanel
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/55e14663/attachment.htm
More information about the Users
mailing list