[mapguide-users] Fusion.Event.MAP_EXTENTS_CHANGED throws error

GordonL gordon.luckett at arrowgeomatics.com
Wed Jan 13 14:38:56 EST 2010


Hi, I am just trying to grab the current scale when the user zooms in and out
- but after the code runs once, successfully, to throws the following error:

Message: 'this.events[...][...]' is null or not an object
Line: 110
Char: 13
Code: 0
URI: http://localhost/mapguide2010/fusion/lib/EventMgr.js

the code:

mapWidget.registerForEvent(Fusion.Event.MAP_EXTENTS_CHANGED,
alert(mapWidget.getScale()));


the code works great, once.
-- 
View this message in context: http://n2.nabble.com/Fusion-Event-MAP-EXTENTS-CHANGED-throws-error-tp4365674p4365674.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list