[Users] GeoExt 2 /PrintExtent
Shadin A
shadin__a at hotmail.com
Sun Sep 23 20:15:55 CEST 2012
I would like to add an extent polygon here in this example:http://geoext.github.com/geoext2/examples/printextent/print-extent.html
to may panel, not generating a new one.
here is my map initialization : Ext.define('MyApp.Map', {
extend: 'GeoExt.panel.Map',
alias: 'widget.mymap',
initComponent: function () {
var me = this;
Ext.apply(me, {
map: map,
});
me.callParent(arguments);
}
});
then add map to mapPanelExt.getCmp('mapPanel').add({requires: ['MyApp.Map'], items: [{xtype: 'mymap' }] });
but I am stuck trying to add that plugin to my panel. In the example it seems simple but I couldn't do it! I am not sure where I have to add the plugin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120923/a190355b/attachment.htm
More information about the Users
mailing list