[mapguide-users] prob with GetSelectionXml()

saloua wakrim wakrimsaloua.wakrim at gmail.com
Wed Jun 3 08:54:48 EDT 2009


hi kenneth ! when we select object on map or (selection) mapguide marks it
with blue color (with some transparency) who knows the code of this color?
if we want use it for example as foreground to draw layer what is the code
wich allow that, thanks for all in advance

2009/5/28 Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>

> Its the runtime layer's ID, which is a guid string, and changes for each
> invocation of the map.
> (eg, you can't save it and use it in another session).
>
> Selection xml looks like this:
>
> <Layer id="layer guid">
>  <Class id="feature class">
>    <ID>base64 encoded primary key value</ID>
>  </Class>
> </Layer>
>
> You can have multiple <Layer> tags, multiple <Class> tags, and multiple
> <ID> tags.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> wakrimsaloua.wakrim at gmail.com skrev:
>
> hi all! did you know what does" id" in <layer id=255.....> returned by
>> selection xml mean? cause when i got the XmlSelection from map and i use it
>> for getting layers it contains i've error wich say that layers is nothing
>> but the selection is nt i've verifyed it the selection i got from map is not
>> empty but the layers are nothing, so i think that can be caused by the "id"
>> in <layer id=255.....> returned by the selection if that mean the session
>> for example cause me when i create layer i do it with
>> "library://......mapdefinition" and not "Session//....mapdefinition" so i
>> think that if the id on <layer id=255.....> means the session used by user i
>> think that layer contained on selection won't be known, but i'm not sure
>> please if you have some idea tell it me, thanks a lot on advance.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090603/cada0811/attachment.html


More information about the mapguide-users mailing list