Re: [mapguide-users] problem with selection set - more info
Ok, here's the background. Those PHP scripts in question shouldn't be called now because we now have a version of the QUERYMAPFEATURES mapagent operation that fulfills the needs that these 3 scripts previously provided. Fusion.Layer.MapGuide has a flag (bUseNativeServices) that determines whether we call QUERYMAPFEATURES or the PHP scripts (ref: https://trac.osgeo.org/fusion/browser/trunk/layers/MapGuide/MapGuide.js#L82) This flag should be set to true when Fusion does a MG version check on startup. Any MapGuide version >= 2.6 should be flipping this flag to true. So the fact that your copy of Fusion is still making requests the old way is strange. Even the build of Fusion included in MGOS 2.6.1 should be making requests the new way. So this raises my main question: Are you using a custom build of Fusion and not the one that is bundled with your new MGOS 3.1.2 install? Fusion should not be calling these 3 PHP scripts anymore. - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] problem with selection set - more info
Hi Yuval, Thank you for this extra and very useful information. I'll dig through the fusion commit logs and see what the deal is. - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] problem with selection set - more info
Jackie and all hi You are right, i missed important details. Here they are. We are using Fusion layout and Apache server with PHP. In Mapguide 2.6.1 when selecting an object on a layer on the map Fusion would execute 3 php files /mapguide/fusion/layers/MapGuide/php/SaveSelection.php /mapguide/fusion/layers/MapGuide/php/GetSelectionProperties.php /mapguide/fusion/layers/MapGuide/php/Selection.php According to what we understand one of these php files gets the selection and transfers it to the session. In Mapguide 3.1.2 running the same selection does not seem to do the same thing and only calls the mapagent. any help would be appreciated. please let me know if any more information is needed. yuval ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users