[mapguide-users] Fusion right click menu

elliott17 elliottd at ae.ca
Tue Jul 3 12:34:25 PDT 2012


I made the two changes to select.js contained within the fusion\widgets
folder. The same behaviour is evident prior to editing the file in that no
right click menu shows up when using the selection icon.

My file looks like the following now:

activate: function() {
        this.handler.activate();
        //this.shiftHandler.activate();
        this.getMap().setCursor(this.asCursor);
    },

    /**
       * deactivate the widget (listen to mouse events and change cursor)
       * This function should be defined for all functions that register
       * as a widget in the map
       **/
    deactivate: function() {
        this.handler.deactivate();
        //this.shiftHandler.deactivate();
        this.getMap().setCursor('auto');
    },

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-right-click-menu-tp4984285p4985774.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list