Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Adding Layers To A Map<br />
The preceding examples have created or modified the XML for layer definitions<br />
in memory. To add those layers to a map:<br />
1 Save the layer definition to a resource stored in the session repository.<br />
2 Add that resource to the map.<br />
This function adds takes a layer’s XML, creates a resource in the session<br />
repository from it, and adds that layer resource to a map.<br />
Adding Layers To A Map | 67