Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

ID

com.cohga.client.actions.redline

weave.redline

Properties

Name

Type

Cardinality

Default

Description

i18n resource

tooltip\title

string

0..1

Redline

The title for the tooltip.

redline.tooltip.title

tooltip\text

string

0..1

Add elements to the map

The text for the tooltip.

redline.tooltip.text

title

string

0..1

Redline

The title of the redline toolbar window.

redline.title

hideOnClick

boolean

0..1

false

Should menus automatically hide when an item within is clicked?

scale

string

0..1

'small'

The size of the icons in the toolbar, 'small', 'medium' or 'large'.

geometryTool

string

0..n

A list of the geometry tools that should be included in the redline toolbar.

pointpolylinepolygoncirclesquarerectanglemarker and text

settingTool

string

0..n


A list of the settings menus that should be included in the redline toolbar.

fillstrokefontmarkerMenu

tool

string

0..n

A list of additional tools that should be included in the redline toolbar.

multilineLabel

boolean

0..1

false

Should the label field be a multi-line input field.

Available tools

Id

Name

Enabled1

Description

circle

Circle

yes

Add a circle to the map

circleByRadius

Circle by Radius

Define a circle for a specified radius

defaults

Save Settings

yes2

Save the current settings as the defaults

delete

Delete

yes

Delete the currently selected redline element

deleteall

Delete All

yes

Delete all redline elements

entity

Get

Create a redline item from the currently selected entity

fill

Fill Settings

yes

Change the fill colour and transparency of the selected feature

font

Font Settings

yes

Change the Font colour and style of the selected features text

load

Load

yes2

Load and manage your saved redlines

marker

Marker

yes

Add a marker to the map

markerMenu

Marker Settings

yes

Change the marker colour

modify

Modify

yes

Click on the redline to modify

point

Point

yes

Add a point to the map

polygon

Polygon

yes

Add a polygon to the map

polyline

Polyline

yes

Add a polyline to the map

rectangle

Rectangle

yes

Add a rectangle to the map

label

Label

yes

Add a label to a redline element

save

Save

yes2

Save the current set of redlines

snap

Snap Settings

yes

Alter the current snapping settings

square

Square

yes

Add a square to the map

stroke

Line Settings

yes

Change the line colour and transparency of the selected feature

text

Text

yes

Add text to the map

buffer

Buffer

Generate a buffer around the selected features

bufferAll

Buffer All Redlines

Generate a buffer around all redline objects

bufferSelected

Buffer Selected Redline

Generate a buffer around the selected redline object

exportMarkers

Export to Shapefile

Export all redlines to Shapefile

exportKml

Export to KML

Export all redlines to KML

coordsCreate3

Create Geometry

Create some geometry by entering the coordinates.

coordsUpdate3

Update Geometry

Update some geometry by editing the coordinates.

upload3

Upload Geometry

Create some geometry by uploading it from a file.

spatialSelect4

Spatial Select

Select entities from redline geometry

manage5,6

Organise

yes

List and organise redlines

  1. This tool is enabled by default, if an entry is not marked as enabled it will need to be added with a tool entry in the redline items configuration (see the Properties section above)

  2. Only if storage is available for the user

  3. Weave 2.6.4 or later. Requires spatial upload extension to be installed, which is done automatically as part of a 2.6.4 update.

  4. Weave 2.6.6 or later

  5. Weave 2.6.7 or later

  6. This tool does not currently affect text, which is always displayed on top of all geometries.

Customise available markers

You can replace the content of the marker menu to change the available markers, beyond the default ref, green and blue ones.

Changing 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>


  • No labels