Versions Compared

Key

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

...

Code Block
languagexml
titleChanging available markers
<item action="weave.redline">
	<!--
		rest of config goes here
	-->
	<!-- this replaces the configuration of the maker menu and the markers that it supports -->
	<item action="weave.redline.markerMenu">
		<!-- these are the defaults -->
		<!-- you can also use brown, dark, orange, purple, silver and yellow -->
		<marker graphic="resources/images/markers/w-marker-green.png" text="Green"/>
		<marker graphic="resources/images/markers/w-marker-red.png" text="Red" />
		<marker graphic="resources/images/markers/w-marker-blue.png" text="Blue" />

		<!-- these are extras and the graphics, sizeX, sizeY, offsetX and offsetY are dependent upon the image -->

		<!-- this is assuming there is bundle installed in Weave that is exposing these images -->
		<!-- Note these icons currently will only display on the client, not in reports, etc -->
		<marker graphic="custom/markers/marker1.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 1" />
		<marker graphic="custom/markers/marker2.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 2" />
		<marker graphic="custom/markers/marker3.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 3" />

		<!-- this is assuming example.com is serving up icons (via http and https) -->
		<!-- Note these icons currently will only display on the client, not in reports, etc -->
		<marker graphic="//example.com/custom/markers/marker4.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 4" />
		<marker graphic="//example.com/custom/markers/marker5.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 5" />
		<marker graphic="//example.com/custom/markers/marker6.png" sizeX="18" sizeY="18" offsetX="-9" offsetY="-9" text="Marker 6" />
	</item>
</item>

...