Re: [mapguide-users] Localization with Accents

2019-01-30 Thread GordonL
In the index.php where it gets the application definition: $content = $resourceService->GetResourceContent($appDefId) If echo out the contect, the accents become scrambled. I think there is something strange in the reading of the XML. For example, if you get the XML Directly with the MapAgent, t

Re: [mapguide-users] Localization with Accents

2019-01-30 Thread GordonL
Thanks Jackie, the French keyboard was giving weird symbols when rendered, but using the ASCII Codes for example: & # 233 ; = é That works better than using the keyboard. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

[mapguide-users] Fusion layers/legend: activate folder includes subfolder (coppied from torrini's quistion)

2019-01-30 Thread farman
Quick question: is it possible to configure the layers/legend-window in a way that it activates all sub-folders when activating a folder? That would simplify so much more! In a next step it would be great to identify the "master-folde

Re: [mapguide-users] Update legend information on runtime

2019-01-30 Thread Jackie Ng
864 layers !!!??? o_O If you want to avoid a full legend rebuild, then your shortcut functions that do the layer/group toggling should return some kind of changeset JSON structure that the legend widget can use to update affected parts. So just to spitball an example from your sample server-side

Re: [mapguide-users] MaestroAPI Change layer filter c#

2019-01-30 Thread Jackie Ng
Check this example: https://github.com/jumpinjackie/mapguide-maestro-sdk/blob/master/SamplesWeb/SamplesWeb/Tasks/ModifyParcelsFilter.aspx.cs#L43 WARNING: Sample application is an old crufty ASP.net WebForms application, but the demonstrated usage of the MaestroAPI part should still be relevant an

Re: [mapguide-users] Distance measure widget

2019-01-30 Thread Jackie Ng
From this appropriate TODO I left on Pan.js https://trac.osgeo.org/fusion/browser/trunk/widgets/Pan.js#L59 OpenLayers (2) appears to hard-code the mouse button on the OL DragPan control to the left mouse button. We can't (re-)configure this to be any other button. That means when the pan widget

Re: [mapguide-users] Localization with Accents

2019-01-30 Thread Jackie Ng
See my comment (github gist because I dunno where else to put throwaway files and images :P) https://gist.github.com/jumpinjackie/28b51fde75d5d2a3efcc9b15229fced0 - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___