Opened 13 years ago

Closed 13 years ago

#78 closed defect (fixed)

Updating default sketch color documentation

Reported by: andersd Owned by: EliL
Priority: major Milestone: 2.6
Component: Website Version: 2.6
Keywords: Cc: theduckylittle

Description

Step 1: Add to What's New

Drawing tool parameters are not changed. The following parameters are deprecated:

<param name="drawing_tools.default_fill">red</param>
<param name="drawing_tools.default_stroke">yellow</param>
<param name="drawing_tools.default_opacity">1</param>

Drawing is now managed as a service and parameters are as follows:

<attribute name="line_color" type="color" default-value="#ff0000" label="Stroke Color:"/>
<attribute name="fill_color" type="color" default-value="#ff0000" label="Fill Color:"/>
<attribute name="label_only" type="checkbox" default-value="false" label="Only show label in print?"/>

Color can also be set using the RGB(x,x,x) format.

Step 2: Update "How To Change Default Drawing Colors"

Replace everything after

These tools allow the user to place their own markup on the map and edit that markup.

With the following:

Currently, the shapes drawn can have their shape, fill color, and stroke color adjusted after creation. Default values can be changed within the draw service section in the mapbook.

<attribute name="line_color" type="color" default-value="#ff0000" label="Stroke Color:"/>
<attribute name="fill_color" type="color" default-value="#ff0000" label="Fill Color:"/>
<attribute name="label_only" type="checkbox" default-value="false" label="Only show label in print?"/>

These colors can be any one of the 16 supported W3C colors, a six digit RGB color code (ex., #00FF00), or a three digit RGB color code (ex., #0F0).

Change History (2)

comment:1 by EliL, 13 years ago

Cc: theduckylittle added
Status: newassigned

Can you be more specific on what exactly you mean by the 'What's New' section?

comment:2 by EliL, 13 years ago

Resolution: fixed
Status: assignedclosed

Done in r767. Updated how to and put notice in the release details.

Note: See TracTickets for help on using tickets.