[mapguide-users] Select Features from Task Frame

Berdel, Brian brian.berdel at mcmtrans.com
Mon Mar 24 09:00:00 EDT 2008


You need to pass your selectionXML for the Parcel to JavaScript

Then call

parent.parent.mapFrame.SetSelectionXML(selectionXml);
parent.parent.mapframe.ExecuteMapAction(10);

from a javascript function


Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Vishaal
Sent: Monday, March 24, 2008 8:06 AM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Select Features from Task Frame


hI  Max,

i am trying the same using visual Studio2005 and MGOS1.2. i am getting a
list of selected parcels. now i want that from the available list if i
click
on any parcel it should get zoomed and selected in the map along with
the
related information in the property pane.
 
i have tried using the php sample but of no use. can you share your code
with me about how to zoom to a specific parcel by clicking from the list
of
available parcels.

i'll be grateful to you. its very urgent.
thaNKS.


max_samart wrote:
> 
> Hi All,
> 
>             I able to search and filter the results and then display
it in
> the task pane with zoomto view hyperlink ,so if user click on the zoom
> icon it use to go to that location and show the parcel/land with on
the
> fly marker.Now what i am looking for is that with the same click icon
,i
> want to zoom to that location as well as select the feature with
property
> info of that item displayed in the property pane. I tried SelXml()but
i
> use to get error ,Anyone have idea how to getXml of each features
> dispalyed in the task pane list and then get the property info of that
> selected feature.
> 
> Thks
> Max !!
> 
> 
>      
>
________________________________________________________________________
____________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context:
http://www.nabble.com/Select-Features-from-Task-Frame-tp15220723s16610p1
6249724.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list