Skip to content

Tooltip ​

When a visitor hovers an area or a marker, a small card appears next to the cursor: the tooltip. It shows the object's name and, if you want, its key facts — price, status, today's hours — so visitors can scan a map without opening every card. The Tooltip panel in the editor's left menu sets it up once for the whole project.

Touch screens have no hover: there a tap opens the object card instead.

Look ​

SettingOptions
Show tooltipsTurn hover tooltips on or off for the whole map
StyleDark (the default), Light, or Custom — any Background and Text colour; secondary lines use the text colour, softened, so any background stays readable
PhotoNone (default), Left or Top — the object's first photo, when it has one. With Top, the status sits on the photo
WidthNarrow (240 px), Normal (320 px, default) or Wide (384 px). An object with a photo gets a tooltip of exactly this width; without a photo the tooltip fits its text, up to this width, and long lines wrap

Content ​

The name is always shown. Each field appears only when the object has it, so one set of switches works for apartments, shops and pitches alike.

FieldWhat it showsDefault
Tooltip textThe short line set on each area or marker (Tooltip text in its editor, per language) — e.g. "Next to the main entrance · free Wi-Fi"on
TagThe first tag, in the visitor's languageon
LevelThe level name, in the visitor's languageon
StatusA coloured dot and the status label (an error status without a label reads "CLOSED")on
PriceThe price, next to the nameoff
RatingA star and the numberoff
Working hoursToday's open hours, or Closed, plus "Closes in N min" / "Opens in N min"off
OccupancyHow busy it is now (low / medium / high), while openoff
FeaturesThe first features as chips, then "+N" (choose how many: 1–4)off

The panel's preview at the top uses a sample object with every field filled, so you see the full layout before adding any content. On the map each object shows only what it has.

What stays on each object: Show tooltip (hide it for a decorative area) and its Tooltip text: one short line per language, up to 120 characters. Whether tooltips show photos is set here for the whole project; the old per-object Show image in tooltip switch is gone (the API ignores showImageInTooltip).

Fine-tuning

On the Enterprise plan, Appearance → Custom CSS can style the tooltips further through .layota-area-tooltip and .layota-marker-tooltip.

API ​

The settings are part of the project's appearance: appearance.tooltip in GET /api/projects/{id}/ and the public /api/p/{id}/, written with PATCH /api/projects/{id}/ and appearance_data.tooltip. Send only what changes — it is merged over what the project has:

json
{ "appearance_data": { "tooltip": { "style": "light", "photo": "top", "fields": { "price": true, "hours": true }, "featuresMax": 3 } } }

Keys: enabled (boolean), style (dark / light / custom), background and textColor (hex, with custom), photo (none / left / top), width (compact / normal / wide), fields (subtitle, tags, level, status, price, rating, hours, occupancy, features → boolean), featuresMax (1–4). Unknown keys or values are a 400.

Layota Documentation