[Users] How can I get a reference to a mapPanel.map inside geoext.viewport?
Phil Scadden
p.scadden at gns.cri.nz
Sun Apr 3 23:15:58 CEST 2011
>
> I have tried document.getElementById('map').innerHTML and also
> Ext.getCmp("map") as well as this.viewport.mapPanel.map and
> combinations of them all, but the result is always the same.
From your code, it should be Ext.getCmp("mapPanel") (using the id).
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110404/ff3ac01e/attachment.htm
More information about the Users
mailing list