which version on fusion, what are you using fusion with? do you have two
maps?


On Wed, Nov 6, 2013 at 6:19 AM, ChrisGo <[email protected]>wrote:

> 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
>



-- 
Zac Spitzer
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to