[mapguide-users] SetSelectionXml not working

Bastian Martinschledde Bastian.Martinschledde at hst.de
Tue May 27 07:45:47 PDT 2014


Hello all,

we are messing with a problem with the function setSelectionXml in the viewerframe.  We created a selectionXml which looks like:


parent.SetSelectionXML('<?xml version="1.0" encoding="UTF-8"?><FeatureSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance" xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> <Layer id="46d61ea4-e5a0-11e3-8001-64315007f1bf"> <Class

id="Default:Schacht"> <ID>aFUAAA==</ID> <ID>ImYAAA==</ID> </Class> </Layer></FeatureSet>') ;

parent.Refresh();parent.ExecuteMapAction(10);



This works just half way. The 2 objects in the layer will be selected but the properties on the left corner won´t be filled and sometimes it looks broken:



[cid:image001.jpg at 01CF79CA.FF0B2970]



Did someone get the same problem? May be there is  another way to select objects in the map?



Best Regards




Mit freundlichen Grüßen

Bastian Martinschledde, B.Sc.
Produkt- u. Projektingenieur, Entwicklung
IT & Automation
mailto: Bastian.Martinschledde at hst.de
Tel./Fax: +49 291 9929-84 / +49 291 7691

Produkte, Systeme und Lösungen für Wasser, Energie und Infrastruktur
www.hst.de<http://www.hst.de> | Magazin watervision<http://www.hst.de/watervision> | Produktkatalog<http://www.hst.de/Produktkatalog> | Konfiguratoren<http://www.hst.de/service/Konfiguratoren> | YouTube<http://www.youtube.com/user/HSTSystemtechnik>

HST Systemtechnik GmbH & Co. KG
Heinrichsthaler Straße 8, 59872 Meschede, Germany | Tel./Fax: +49 291 9929-0 / 7691 | www.hst.de<http://www.hst.de> | Registergericht: Amtsgericht Arnsberg - HRA 6726 | UST-IDNR.: DE 265 537 270
Komplementärin: HST Systemtechnik-Verwaltungs-GmbH
Geschäftsführer: Dipl.-Ing. Richard Ernst, Dipl.-Ing. Martin Frigger, Dipl.-Ing. MBA Werner Bücker | Registergericht: Amtsgericht Arnsberg - HRB 3416

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140527/3b003477/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4488 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140527/3b003477/attachment.jpg>


More information about the mapguide-users mailing list