[mapguide-users] Regarding Selection of features of layer linked wth map by Maestro API

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sat Feb 21 06:14:13 EST 2009


There is currently no methods for dealing with selections through the 
MaestroAPI,
so you have to use the MgSelection object from the regular API.

An alternative is to just deal with the xml manually.
It looks like this:
<FeatureSet>
  <Layer id="layer guid">
    <Class id="schema name">
      <ID>base64 encoded id</ID>
      <ID>...</ID>
    </Class>
  </Layer>
</FeatureSet>

There can be multiple layers in the selection.

I have added a ticket you can subscribe to, if you want to track my 
progress on making the selection easier in the MaestroAPI:
http://trac.osgeo.org/mapguide/ticket/858

Regards, Kenneth Skovhede, GEOGRAF A/S



ravinder.singh at BIRLASOFT.COM skrev:
>
> Hi All,
>
>  
>
> I have associated a layer to a map at run time by using maestro api.
>
> And I got the prefect output, map is rendering properly.
>
>  
>
> But now I want to highlight/mark the features of layer, depending upon 
> the condition entered by the user (for taking the input condition I 
> have made my separate aspx page).
>
>  
>
> So my problem is that how to highlight/mark/select the features of the 
> map/layer which I have created at run time by Maestro API.
>
>  
>
> I am using .net, c#, asp.net with MGOS
>
>  
>
> *Thanks & Regards,*
>
> Ravinder
>
>  
>
> *********************************************************************************************************************************************************************
> "This message and any attachments are solely for the intended 
> recipient and may contain Birlasoft confidential or privileged 
> information. If you are not the intended recipient,any 
> disclosure,copying, use, or distribution of the information included 
> in this message and any attachments is
> prohibited. If you have received this communication in error, please 
> notify us by reply e-mail at (administrator at birlasoft.com) and 
> permanently delete this message and any attachments. Thank you."
> *********************************************************************************************************************************************************************
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090221/e5023bc8/attachment.html


More information about the mapguide-users mailing list