[Users] Overview map in a seperate Ext Panel

Gabriel Nolasco nolasco_gabriel at yahoo.com.br
Mon Jul 5 01:13:58 CEST 2010


Jehanzeb,

By default, the overview map is added to the map viewport. If you wish to add the overview map to another element in your document, you can send that element as the div property of the options argument when you construct the control.

http://trac.openlayers.org/wiki/Control/OverviewMap#Customlayout

Then use the contentEl property of the Ext.Panel to set the overview map div as the content for this component.

http://www.sencha.com/deploy/dev/docs/source/Component.html#cfg-Ext.Component-contentEl

Best Regards,
Gabriel Nolasco



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100704/52e6c83c/attachment.htm 


More information about the Users mailing list