[mapguide-users] Change layer's color

Jason Birch Jason.Birch at nanaimo.ca
Tue May 2 16:03:29 EDT 2006


Absolutely.
 
The developers guide contains some examples on how to interact with
layers in Chapter 4:
https://mapguide.osgeo.org/docs/MgOpenSourceDevGuide.pdf
 
You can see what a LayerDefinition looks like by:
 
- go to mapagent/index.html
- select Resource service API in the upper-left
- select EnumerateResources in the lower-left
- in the right pane, enter LayerDefinition as the Type and click on
Submit
- clipboard the resource ID for one of the layerdefinitions (e.g.
Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition)
- click on GetResourceContent in the lower-left
- paste the resource ID into the appropriate area in the right
- click on submit

Jason 
 

________________________________

From: Amit Stein [mailto:amitstein at gmail.com] 
Sent: Tuesday, May 02, 2006 08:56
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Change layer's color


Can I change the color of the layer from PHP?

Amit





More information about the Mapguide_users mailing list