[fusion-users] Setting the selection in the map to a specified
polygon in a layer
Chris Claydon
chris.claydon at autodesk.com
Wed Jan 14 13:41:54 EST 2009
If you are writing a script against the MapGuide Web Tier API, you can create an MgSelection object and then call it's method ToXml() in order to obtain a selection string.
Chris.
From: fusion-users-bounces at lists.osgeo.org [mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Ari Þórðarson
Sent: Wednesday, January 14, 2009 8:58 AM
To: fusion-users at lists.osgeo.org
Subject: [fusion-users] Setting the selection in the map to a specified polygon in a layer
Hi everyone
I have a map of a town with many houses wich are all in one layer and each house has an id and I want to set the selection to one house with a specified id. I thought that I could maby use the "setSelection" function in Map.js that is like this:
setSelection: function(selText, zoomTo)
Does anyone know in what kind of format the selText parameter for the setSelection function is suposed to be in.
It would be nice if I could se an example string that is passed to the function.
Greetings, Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20090114/bf25d7b4/attachment.html
More information about the fusion-users
mailing list