[Mapguide-trac] [mapguide-trac] #2267: parent.InMeasure is not a function while moving mouse before AJAX viewer is fully initialized
MapGuide Open Source
trac_mapguide at osgeo.org
Wed May 8 04:49:03 PDT 2013
#2267: parent.InMeasure is not a function while moving mouse before AJAX viewer is
fully initialized
---------------------------+------------------------------------------------
Reporter: jng | Owner: jng
Type: defect | Status: new
Priority: low | Milestone:
Component: AJAX Viewer | Version:
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
If you move the mouse in the map area as the AJAX viewer is being
initialized, the error console will be spammed with parent.InMeasure is
not a function in the OnMouseMove() function of ajaxmapppane.templ,
despite the mapInit variable being true
The solution is to test both parent and InMeasure before attempting to
invoke the function, otherwise default to false
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2267>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list