How do I add annotations?
Sometimes, it's useful to add plain text to a map to annotate or explain different pieces of the visual. Kumu doesn't have built-in support for these kinds of annotations, but you can follow this guide to achieve the same effect.
First, create a new element, and use the full text of your annotation as the element's label. Then, change the element's type to
Annotationand add the following code to your Advanced Editor:
text-overflow: wrap 50;
You can change the
text-overflowproperty to adjust the number of characters that Kumu will allow before wrapping to the next line. You can also use the
font-sizeproperty to set a specific font size.
With your annotation styled, you can drag it into place on your map. Once your satisfied with its location, return to the Advanced Editor and add one more line of code to your block:
layer: backgroundallows other items (like connections) to cross over the annotation, and it prevents people from clicking the annotation. If you ever need to move the annotation again, you can remove that line of code, move the element, then add the code back in.
You don't have to use the type
Annotationfor your annotations—you can use any element type, as long as the selector (e.g.
annotation) in your Advanced Editor code matches what you chose.