1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    35
    Vote Rating
    1
    Oxii is on a distinguished road

      0  

    Default Unanswered: How to add a Plugins ?

    Unanswered: How to add a Plugins ?


    here is my map initialization :

    Code:
    Ext.define('App.Map', {        
    extend: 'GeoExt.panel.Map',        
    alias: 'widget.themap',        
    initComponent: function () {           
    var me = this;            
    Ext.apply(me, {               
     map: map,           
     });        
    me.callParent(arguments);    }});

    then add map to mapPanel:

    Code:
    Ext.getCmp('mapPanel').add({requires: ['App.Map'], items: [{xtype: 'themap'  }] });
    now I want to use the extent polygon here in this example:http://geoext.github.com/geoext2/exa...nt-extent.html
    on my mapPanel, not generating a new one.
    I am not sure how/where I have to add the plugin property ??

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,197
    Vote Rating
    482
    Answers
    689
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

Thread Participants: 1

Tags for this Thread