1. Home
  2. Knowledge Base
  3. Map Customization
  4. The Guide to Draw Shapes and Lines on your Map

The Guide to Draw Shapes and Lines on your Map

Mapme provides a powerful feature to add drawings of shapes and lines on your interactive maps.

Drawings are very flexible and can be added to:

  • The map overview
  • The categories
  • Individual locations

Here are some examples that highlight the capabilities of our map drawing feature

Use this guide to learn how to draw shapes and lines on your map

Add Drawings to your Map

There are 2 ways you can add drawings to your map

  • Manually draw on the map using the drawings tools
  • Import file with drawings (KML or GPX). Learn more.

To manually draw shapes or lines on the map, open the “Custom map layers” in the relevant context (overview or category, or location)

  • Create a new layer
  • Give a name to the drawing
  • Click on “Draw on the Map”
  • Select either the line tool or the shape tool

We recommend expanding the map to make it easier to draw. Use the red button in the bottom right-hand corner.

drawing-tools

Customizing your Drawings Style

Customize the color and opacity

You can change the drawing color and opacity using the color selector.

You can only have one color per drawing layer. If you need drawing with different colors, simply create multiple drawing layers.

Advanced line and shape Styling

You can customize the style of the lines or shapes using our advanced style editor.

For example, you can customize the line width, shape borders, and a lot more.

Click here to learn more about how to customize line and shape styles using our JSON editor.

Drawing Interactivity

By default, your drawings are clickable. However, you can set them to be not interactive.
When a drawing is clickable, the outcome of a click or tap depends on the drawing context:

  • Drawings in the overview –  the map will go to the overview
  • Drawings in categories – the map will open the associated category
  • Drawings in locations – the map will open the associated location

Note that if a drawing is associated with several categories or locations, the map will go to the first category or location.

    Drawing Display Rules

    For each map context, you can choose when your drawings will display.

    Map Home Context

    Context Selected – the drawings are only visible on the map home

    Context Visible – the drawings are always visible.

    Category Context

    Context Selected – the drawings are visible only when the category is selected.

    Context Visible – the drawings are visible when the category is on the map (map home or category selected).

    Location Context

    Context Selected – the drawings are visible only when the location is selected.

    Context Visible – the drawings are visible when the location is on the map (map home or category or location selected)

    drawing-display-rules

    Drawings Display Order

    If you add multiple drawing layers, the drawings will display in the order of the layers. The first layer will display first and therefore the last layers will display on top.

    Drawings Reference List

    If you assign a drawing to multiple categories or locations, you can view a list of all the categories and locations that have been assigned to a drawing.

    map-drawing-referencest

    Connecting Lines Between Markers

    Mapme also provides a feature to automatically draw connecting lines between markers. Learn more.

    Related Articles