The Home of GeoMOOSE!

Wiki | Tickets | Live Demos | Download

Previous topic

How To Customize Your Waiting Message

Next topic

How to set the Defaults for the Measure Tools

This Page

How To Change Default Drawing ColorsΒΆ

GeoMOOSE 2 features client side red-lining/drawing/sketching tools. These tools allow the user to place their own markup on the map and edit that markup. Currently, the shapes drawn can have their shape, fill color, stroke color, and opacity adjusted after creation. While the default red/green combination that GeoMOOSE employs by default is very attractive we recognize it may be neccessary to adjust those settings. To do so there are three configuration variables that need to be over-ridden in the mapbook:

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

The “red” and “yellow” colors are used an example. 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).