Re: [mapguide-users] problem with selection set - solved and more question
Thank you This helped me with my problem http://osgeo-org.1560.x6.nabble.com/Fusion-Error-when-using-Select-widget-on-Mapguide-3-1-2-td5430104.html -pmpm -- 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 - solved and more question
The mapagent and your PHP code are 2 separate things on the backend. The mapagent, where your viewer sends QUERYMAPFEATURE requests to knows nothing about these PHP scripts. So without digging any further, I'd say that you will have to write some code to do this. - 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
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
Re: [mapguide-users] problem with selection set
I don't think any of us reading this list actually have an idea what MapGuide installation environment you are referring to other than it is using PHP, which doesn't help any of us in helping you find possible solutions. Is this mis-behaving code coming from: - The AJAX viewer? - Fusion? - Your own custom PHP code using the MapGuide API What are your steps to reproducing the problem? Please be as specific as possible. - 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