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-boun...@geoext.org [mailto:users-boun...@geoext.org] En nom de Robert 
Buckley
Enviat: miércoles, 22 de febrero de 2012 8:30
Per a: users@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
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to