Overview

The following covers the steps and utilization of two settings for configuring zone fill color and if or if not, a color should strictly be enforced or overwritten for existing Automated or DefaultShape zones. The typical defaults that these settings are configured to (shown below) are false for enforcing that existing zone colors are updated and blank (an empty string) for zone fill color which results in default zone fill colors to be used. These settings can be found under the Geotab section in appsettings.


 


Note these settings will only effect new and existing zones that are of type Automated or DefaultShape.


Enforce Zone Color Enabled

For existing zones in Geotab that are of type Automated or DefaultShape, you may not want the integration to update or overwrite the fill color on these existing zones if the color was manually tweaked within Geotab. The setting “EnforceZoneColorEnabled” when set to false will ensure that existing Automated or Default Shape zones will not have their color updated when other information on that existing zone is updated.


This existing zone for example when this setting is false will not have the fill color updated even if the zone fill color setting is configured to a valid color and will remain the original zone fill color (red).


Zone Color Hex Code

For new and existing zones in Geotab that are of type Automated or DefaultShape, a custom color can be specified for when zones are created and potentially when they are updated (depending on the previously mentioned setting above). By default, the setting “ZoneColorHexCode” is blank. When this setting is blank or any other invalid entry, default colors for Automated zones (blue) and DefaultShape zones (red) are used instead.

To properly set the color, a valid hexadecimal RBG value must be used. This is represented in a format starting with a “#” character and following with a combination of numbers 0 - 9 and letters A – F to make up a 6 digit sequence. Hexadecimal color values can easily be searched for to find a preferred color but here are a few general color examples:


#FF0000 – Red                                                                        #FFFF00 – Yellow

#00FF00 – Green                                                                     #FF00FF – Purple

#0000FF – Blue                                                                       #FF7F00 – Orange



This example shows the setting value configured to #00FF00 (green) and updated an existing zone (with the above “EnforceZoneColorEnabled” also now set to true). Note that opacity cannot be tweaked from this setting.