Download "user manual"

Transcript
Annotation and Redlining
10. Annotation and Redlining
Imagine you want to draw some features (points, lines, polygons ...) in your map to
show specific data and/or print it. The outline plugin is what you need.
It allows you to draw features and to annotate them with label texts.
It's also possible to use polygons shapes as a mask layer see "Mask mode". User can
choose between mask or draw mode with radio buttons. See Section 10.2.1,
“outline.ini” for more information.
Shapes colors and styles should be set with specific configuration in the mapfile (See
Section 10.3, “Related Elements in Mapfile”).
The total area of the drawn polygons is displayed on the interface.
10.1. Client-side Configuration
10.1.1. outline.ini
Here are the options that can be set on the client:
•
multipleShapes: boolean, if true, the user is allowed to draw multiple shapes. That
means that drawn features remain until browser session is closed. If false, will
outline only one shape at a time, new feature simply erases / overrides currently
drawn one. When he wants, the user can erase all the drawn feature by clicking on
the "outline_clear" form button (default true).
•
labelMode: boolean, if true, user is asked to input a label text that is drawn to
annotate drawn shape.
•
weightOutlinePoint: integer defining display order of the outline_point tool icon
in toolbar (if not specified, default to 70). A negative weight disables the tool.
•
weightOutlineLine: see weightOutlinePoint (default to 71)
•
weightOutlineRectangle: see weightOutlinePoint (default to 72)
•
weightOutlinePoly: see weightOutlinePoint (default to 73)
10.2. Server-side Configuration
10.2.1. outline.ini
Here are the options that can be set on the server:
68