Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  • Only one of data or datadefinition should be set
  • If datadefintion is set then entity and label should also be set
  • If data is set then entity does not need to be set (and will be ignored)
  • If data is set then label isn't required, but will override the label set for the given data if set

Examples

Code Block
xmlxml
linenumberstrue
xml
	<item action="weave.maptips">
		<tip>
			<data>property_details</data>
			<isDefault>true</isDefault>
		</tip>
		<tip>
			<data>road_details</data>
		</tip>
	</item>
xml
Code Block
xml
linenumberstrue
xml
	<item action="weave.maptips">
		<multipleMaximum>2</multipleMaximum>
		<multipleText>Too many features</multipleText>
		<minScale>1000</minScale>
		<maxScale>50000</maxScale>
		<radius>3</radius>
		<tip>
			<data>property_details</data>
			<isDefault>true</isDefault>
		</tip>
		<tip>
			<data>road_details</data>
		</tip>
	</item>
xml
Code Block
xml
linenumberstrue
xml
	<item action="weave.maptips">
		<pressed>true</pressed>
		<tip>
			<label>Property</label>
			<entity>property</entity>
			<datadefinition>property_details</datadefinition>
			<isDefault>true</isDefault>
			<minScale>1000</minScale>
			<maxScale>10000</maxScale>
		</tip>
		<tip>
			<label>Road</label>
			<entity>roads</entity>
			<datadefinition>road_details</datadefinition>
			<radius>5</radius>
			<minScale>250</minScale>
			<maxScale>1000</maxScale>
		</tip>
	</item>