[Users] Dragdrop on a map

Moataz Elmasry zaza1851983ml at googlemail.com
Wed Nov 3 13:46:09 CET 2010

hello List

I'm trying to drag items from a tree and drop them on a map as features
I have a Tree Panel with:
Pronto.modules.POITBar = Ext.extend(Ext.tree.TreePanel, {
    layout: 'fit',
    width: 440,
    height: 600,           
    title : "POI",
    id : "poi",
    collapsible: true,
    rootVisible: false,
    expandable : true,
    root: {
        nodeType: 'async'
    dataUrl: Pronto.getRootDirectory() + 'resources/json/poi.json',
    ddGroup : "poiGroup",
     * @constructor
    initComponents : function() {
        Example.Panel.superclass.initComponent.apply(this, arguments);

and the map panel defined as:

var mapPanel = new GeoExt.MapPanel({
        title: "Map",
        region: "center",
        map: map,
        zoom: 15,
        tbar : tbar,
        draggable : {
            insertProxy: false,
            onDrag : function(e){
            endDrag : function(e){
            groups : {
                'poiGroup' : true

As you can see, both panels have the same ddGroup, but still none of the 
listeners in the draggable object in the map panel are called, when I 
drag something from the tree and drop it on the map
Any ideas why?


More information about the Users mailing list