[mapguide-internals] Patch for ticket 2526 (MgUnclassifiedException thrown when QUERYMAPFEATURES request made with PERSIST=0)
Walt Welton-Lair
walt.welton-lair at autodesk.com
Tue Mar 10 17:27:47 PDT 2015
> We could refine the logic to only call SetMap() if it wasn't assigned via "new MgSelection(map)"
I think that makes sense.
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Tuesday, March 10, 2015 8:24 PM
To: mapguide-internals at lists.osgeo.org
Subject: Re: [mapguide-internals] Patch for ticket 2526 (MgUnclassifiedException thrown when QUERYMAPFEATURES request made with PERSIST=0)
Hi Walt,
The newSelection may be assigned from the MgFeatureInformation's selection, which doesn't have an attached MgMap instance. We need an attached MgMap for
MgSelection::GetLayers() to be able to return MgLayer instances from the internally encoded selection information.
We could refine the logic to only call SetMap() if it wasn't assigned via "new MgSelection(map)"
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Patch-for-ticket-2526-MgUnclassifiedException-thrown-when-QUERYMAPFEATURES-request-made-with-PERSIST-tp5192598p5192694.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list