Skip to content

Areas

Areas are interactive polygons drawn on the map. They represent stores, rooms, exhibition zones, or any region of interest.

Drawing Areas

  1. Select the Area tool in the editor
  2. Click on the map to place polygon vertices
  3. Close the polygon by clicking the first point or pressing Enter

Editing Areas

Click an area on the canvas to select it. The polygon vertices become visible as draggable handles — drag any vertex to reshape the area. You can also drag the entire area to reposition it on the map.

Hover over an edge between two vertices to reveal a rounding handle — drag it to curve that edge into a smooth arc.

A selected area in edit mode — draggable vertices on the canvas, properties panel on the left

Area Properties

PropertyDescription
TitleDisplay name shown on the map and in search
DescriptionDetailed text shown in the info card
Key (slug)Human-readable identifier for SDK use
ColorFill color of the polygon
Fill opacityTransparency of the fill (0–1)
Stroke widthBorder thickness
Hover opacityOpacity on hover (0–1)
TagsCategories for filtering
ImagesGallery images shown in the info card
StatusStatus type (success, warning, error, info) and custom label
AddressPhysical address
Working hoursSchedule with opening/closing times per day
Phone / Email / WebsiteContact information
RatingNumeric rating (e.g. 0–5)
PriceFree-text price (e.g. "$185,000" or "From €50")
FeaturesList of feature tags (e.g. "Wi-Fi", "Parking")
OccupancyCrowdedness schedule by time of day
Custom buttonConfigurable CTA button with icon, label, and URL
Sub-levelsLink to sub-levels for drill-down navigation

Area Key

The key is a slug used in the SDK to reference areas by a readable name instead of UUID:

typescript
map.selectArea('coffee-shop')   // by key
map.selectArea('Coffee Shop')   // by title — also works

Upload multiple images to an area. The first image is used as the thumbnail. All images are shown in a gallery in the info card.

Display Options

OptionDescription
Show tooltipShow title tooltip on hover
Show image in tooltipInclude thumbnail image in the tooltip
Show cardShow full info card when area is selected
Zoom on selectAutomatically zoom into the area when clicked
Hover animationAnimation on hover: highlight, scale, or none
Show schedule hintsShow "Opens soon" / "Closes soon" based on working hours

Drill-Down

Link an area to sub-levels for drill-down navigation. When a user clicks the area, the map navigates to the linked level. This is useful for buildings within a campus or sections within a floor.

Translations

Area titles, descriptions, status labels, and features can be translated into multiple languages. See Localization.

Layota Documentation