...
- If the layer you want to add as a new Active Layer is in the Table of Contents (TOC)/Map Layers, make a note of the name shown in the TOC.
- Generally, an Active Layer is related to a Map Layer from the TOC but it doesn't have to be as the case. In the extreme, you can have only a raster base map in your TOC but you will still be able to do a graphical selection and have the selection appear over the raster map. In this case it will appear as though features on the raster map have been selected, while in fact it is the vector layer that is used in the graphical selection.
- Open your
toc.xml
file for editing. Search for the name of the Map Layer you identified above (it will appear as thelabel
tag). Note the value of thelayer
parameter. While you're in the toc.xml, add a XML Attribute called
entity
.
In the example below theentity
attribute is added and is set to to add is calledtrees
and is specified as:Code Block language xml theme Eclipse <entry id='l_mapengine.main_counciltrees' layer='counciltrees' label='Council Trees' checked='false' entity="trees"/>
Open your
entity.xml
file for editing. Add an XML Element for this entity.Code Block language xml theme Eclipse <entity:entity id="counciltrees"> <label>Council Trees</label> </entity:entity>
- xxx
- You may need to refresh your browser to see this attribute appear in your Data Grid window.
- Done.
...
Info |
---|
Also refer to the following sections of the Weave System Administrator Guides:
|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...