Notes may cast a shadow when drawn on maps.
The following new attributes control the appearance of shadows:
- $Shadow (boolean): if true, a shadow is drawn
- $ShadowDistance (number): the offset of the shadow
- $ShadowBlur (number): the blurriness of the shadow
- $ShadowColor (color): the hue of the shadow
On very large maps (and/or less powerful computers) it can help with performance of Map view is shadows are disabled by setting Shadow to 'false'. There's no preference to do this app/TBX-wide but stamps to agents can help. With agents consider use of the inside() and descendedFrom() queries with $OnAdd action of $Shadow=false
. To reverse the setting use the same query but with $Shadow=true
. Or write a toggle action:
if($Shadow){$Shadow=false;}else{$Shadow=true;}
Of course, being a toggle, a stamp like above would only be useful if all notes selected had the same $Shadow state!