Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleExample ToC view will all available items
<view id="com.cohga.html.client.map.tocView">
	<label>Layers</label>
	<location>west</location>
	<toolbar>
		<item action="weave.toc.expandAll"/>
		<item action="weave.toc.collapseAll"/>
		<item action="weave.toc.save"/>
		<item action="weave.toc.load"/>
		<item>-&gt;</item>
		<item component="weave.toc.filter"/>
	</toolbar>
	<contextmenu>
		<item action="weave.toc.styleLayer"/>
		<item action="weave.toc.selectLayer"/>
		<item action="weave.toc.zoomToLayer"/>
		<item action="weave.toc.zoomSelection"/>
		<item action="weave.toc.zoomToMinScale"/>
		<item action="weave.toc.zoomToMaxScale"/>
		<item action="weave.toc.clearSelection"/>
		<item action="weave.toc.lockLayer"/>
		<item action="weave.toc.checkAll"/>
		<item action="weave.toc.uncheckAll"/>
	</contextmenu>
</view>

Toolbar and statusbar Items

...

  • You should not include the unlocked version of the layer in the ToC model.
  • If the underlying layer name contains a colon (which some WMS map engines do) theĀ UNLOCKED prefix should be after the colon, e.g. topp:property should useĀ topp:UNLOCKEDproperty.
weave.toc.checkAll

Allows you to check all child entries of a toc group with a single click.

weave.toc.uncheckAll

Allows you to uncheck all child entries of a toc group with a single click.

Layer Transparency Slider

...