Versions Compared

Key

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

...

Code Block
languagexml
<item action="weave.coordZoom">
	<showMarker>true</showMarker> <!-- place a marker at the coordinate, default is false -->
	<markerColor>red</markerColor> <!-- default is 'green' -->
	<windowTitle>Zoom to Map Coordinate</windowTitle>
	<windowWidth>500</windowWidth>
	<windowHeight>400</windowHeight>
	<title>Zoom to Map Coordinate</title>
	<outOfRangeMsg>The Location is not within the Map Extent.</outOfRangeMsg>
	<tooltip>
		<title>Zoom to Map Coordinate</title>
		<text>Enter a map coordinate and zoom to it.</text>
	</tooltip>
	<bodyText>
	<![CDATA[<p>Select a projection and then enter the geographic
	position where you want to centre the map. Select the width of
	the map that you wish to show, then press the "OK" button.
	The map will zoom to the extent that you entered. The position
	shown is the current map centre.]]>
	</bodyText>
	<zoomProjLabel>Select projection</zoomProjLabel>
	<zoomWidthLabel>Select the zoom width</zoomWidthLabel>
	<zoomWidths>
		<width value="1" units="km" />
		<width value="1" units="mi" />
		<width value="10" units="km" />
		<width value="10" units="mi" />
		<width value="25" units="km" />
		<width value="25" units="mi" />
	</zoomWidths>
	<zoomWidthDefault>2</zoomWidthDefault>
	<projections>
		<!-- The following are the default labels and don't need to set here, they're just here to show that the can be set -->
		<!-- The values can also be set for each projection tag below -->
		<lonlabel>Longitude</lonlabel>
		<latlabel>Latitude</latlabel>
		<deglabel>Degrees</deglabel>
		<minlabel>Minutes</minlabel>
		<seclabel>Seconds</seclabel>
		<xlabel>Easting<<xlabel>X</xlabel>
		<ylabel>Northing<<ylabel>Y</ylabel>
		<projection id="EPSG:4283" type="DD" label="GDA94 Lat/Long (Decimal)"/>
		<projection id="EPSG:4283" type="DDM" label="GDA94 Lat/Long (DM)"/>
		<projection id="EPSG:4283" type="DMS" label="GDA94 Lat/Long (DMS)"/>
		<projection id="EPSG:28354" label="MGA Zone 54 (GDA94)"/>
		<projection id="EPSG:28355" label="MGA Zone 55 (GDA94)"/>
		<projection id="EPSG:3111" isDefault="true" label="VicGrid94 (GDA94)">
			<xlabel>X<<xlabel>Easting</xlabel> <!-- override "EastingX" -->
			<ylabel>Y<<ylabel>Northing</ylabel> <!-- override "NorthingY" -->
		</projection>
		<projection id="EPSG:20254" isNTV2="true" label="AMG Zone 54 (AGD66)"/>
		<projection id="EPSG:20255" isNTV2="true" label="AMG Zone 55 (AGD66)"/>
	</projections>
</item>

...