[mapguide-users] Thematic Mapping
Andy Morsell
amorsell at spatialgis.com
Sat Jan 10 14:23:12 EST 2009
You already have the code. Please just dig a little deeper into it before
posting questions. If you don't have the code, download the
dotnetviewersample.zip file from
http://mapguide.osgeo.org/download/releases/2.0.x-samples. Unzip the file.
Look in the THEME folder. As Chris already said, look in the thememain.aspx
and classes/theme.aspx files. Those files are all written in C#. From here
you have everything you need but it will require a little work on your part
to read, understand and disseminate the code and put it to use in your own
application.
Andy Morsell, P.E.
Spatial Integrators, Inc.
www.SpatialGIS.com
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of padmini
godavarthi
Sent: Saturday, January 10, 2009 12:24 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Thematic Mapping
Hi,
Thanks for u r reply.
But i want the only codein c sharp for applying theme.
Can u plz send me the code .
Regards,
Padmini.
Chris Claydon wrote:
>
> Most of the interesting code for the Theme sample is in the files
> thememain.aspx and classes/theme.aspx
>
> Thememain.aspx handles most of the UI
> Theme.aspx contains the methods to retrieve required information from
> MapGuide, and to generate the new themed layer.
>
> The key method is ApplyTheme() which retrieves an existing MapGuide layer
> definition, removes the existing theme configuration, and replaces it with
> the one defined by the user. It then adds this new layer definition to the
> map so that it can be displayed.
>
> I would highly recommend consulting the MapGuide Web Tier API
> documentation to help in understanding the code.
>
> Chris.
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of padmini
> godavarthi
> Sent: Thursday, January 08, 2009 11:54 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Thematic Mapping
>
>
>
> Hi,
> iam using Mapguide opensource 2.0 (with .net 2.0 (C#) and IIS 5.1)
> Now i want to do the thematic mapping based on parcel id programmetically.
> i saw dotnetviewersample application (Theme)its working fine.
> but i didn't get the flow of the concept
> can any one plz tell me the procedure and explain the thematic concept in
> dotnetviewer sample application so that it will be very helpful to me.
>
>
> Thanks and Regards,
> Padmini.
> --
> View this message in context:
> http://n2.nabble.com/Thematic-Mapping-tp2132051p2132051.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
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context:
http://n2.nabble.com/Thematic-Mapping-tp2132051p2137063.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