I am getting a double call on every selection. How do I resolve this? Below
is an example, onInitialized prints once on load. I zoom in and make a
single select and the selectionOn prints twice.



function onInitialized() {
    console.log("onInitialized");

    theMap = MapGuideMapFrame.Fusion.getWidgetById('Map');
    theMap.registerForEvent(MapGuideMapFrame.Fusion.Event.MAP_SELECTION_ON,
selectionOn);
}

function selectionOn() {
    console.log("selectionOn");
}



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Fusion-Event-Listeners-Called-Twice-tp5087525.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to