[mapguide-users] Invoke url
James Card
James.Card at calcad.com
Mon Aug 31 12:51:39 EDT 2009
On Sun, 30 Aug 2009 23:31:30 -0700, sathishpsk9 <sathishpsk9 at gmail.com>
wrote:
> Thank you for your timely reply.But i am using .net environment... the
> varible $currentselction ...equivalent in .net...... atleat where this
> varible is declared ..( i mean which template)
> so that i can pass appropriate variable
The current selection available as a variable is just a list of keys into
the MapGuide data-store. You will have to use the FeatureReader to look at
each selected map feature, determine the data-type of field you're
requesting data for, and then request the value of that field. You cannot
just request a simple list of field values for the selected objects, all
you'll get back is an XML document containing the what might seem to be
random data values (because they are keys for MapGuide's internal data
structure).
The .Net object model and API is essentially the same as the one for PHP;
most folks have little difficulty sorting out the syntax differences
between the languages so they can port the sample code from one to the
other.
--
James Card
California CAD Solutions, Inc.
209-578-5580 - Voice
209-521-6493 - FAX
More information about the mapguide-users
mailing list