[mapguide-users] Zoom to selection doesn't work after opening quick plot window.

Berg, James James.Berg at stantec.com
Wed Jun 12 07:47:23 PDT 2013


Windows Server 2003r2 32bit
MapGuide Open Source 2.4
AJAX Viewer
Maestro 5.0RC

Hello, all

My MapGuide application uses the main frame method ExecuteMapAction(10) to zoom to selections on the map. However, every time I use those functions after opening the quick plot window I get a javascript error "featIds.Items is null or not an object" and the zoom fails.  I run these functions from a popup window and my code looks like this:

                          parent.SetSelectionXML(selectionXml);
                          parent.ExecuteMapAction(10);

Creating the selection with the first line still works.

What do you think?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130612/0205e992/attachment.html>


More information about the mapguide-users mailing list