Appearance
Visitor location Beta
Pro & EnterpriseVisitor location requires a Pro or Enterprise subscription.
Compare plansA map can show a visitor where they are: a blue dot on the plan that moves as they walk. It works on phones and tablets, outdoors — a campsite, a campus, a park, an open-air event. Nothing is redrawn: you tell Layota once where the plan lies on Earth, and the visitor's phone does the rest.
The Location panel in the editor's left menu turns it on and is where each level is placed on the map of the world.
Turning it on
| Setting | What it does | Default |
|---|---|---|
| Show visitors where they are | Turns visitor location on for this project. With it off the panel shows nothing else | off |
| Offer it when the map opens | A small card at the bottom of the map: "See where you are on the map", with Show my location and Not now. Shown once per visit. Off — visitors find the round button above the zoom controls themselves | on |
| Routes from the visitor's position | On a map with wayfinding, a visitor on the map can start a route from where they stand: My location in the route builder, Route from here on their dot, and a link with only a destination. Off — routes start from places only | on |
The preview at the top of the panel shows what a visitor gets with the current settings.
Placing a level on the map
A visitor's position can be shown on a level only after the level is placed — after Layota knows which spot on Earth each point of the plan is.
With visitor location on, opening the Location panel replaces the canvas with a satellite map, and your plan lies over it — upright, in the middle, half see-through. Your plan is not changed: you move the satellite map under it until the two match.
- Find your place: paste its coordinates into the field at the top left and press Enter. In Google Maps, right-click the place and click the coordinates to copy them.
- Drag the satellite map and zoom it until it is the same size as your plan.
- Turn it to match: drag with the right mouse button, or use the two arrows at the bottom. North up turns it back.
- Use the Plan slider to see through the plan more or less while you compare roads, buildings and the shoreline.
- Click Save placement, then save the project as usual.
A project with several levels is placed level by level. The Levels on the map list in the panel shows how many are placed and which level is on the canvas now; press a level there (or pick it in the level picker at the top left) to place it. Remove — under the canvas, or the bin on a placed level's row — takes a level's placement away.
Which levels to place
Place the outdoor levels. A floor inside a building is usually left out: a phone cannot tell floors apart, and indoors its position is off by 10–30 metres or more.
A plan drawn to scale matches the satellite map everywhere. A schematic plan — one where distances are not to scale — can be matched in the middle but will be off towards the edges, and the dot with it. You will see this while placing it.
What visitors see
- On a phone or tablet, on a placed level: the offer card when the map opens (if it is on), and a round button above the zoom controls.
- The browser asks its own question the first time — its words are the browser's, and on your page it names your site. Layota asks for the position only after the visitor pressed Show my location or the button, never on its own. A visitor who allowed it before sees the dot at once on the next visit.
- Where the map goes: when the position is first found, the map moves the dot to the middle of the screen with about 40 metres round it — closer in only if the visitor had already zoomed in closer. If the phone's first answer is rough, the map shows that wider ring and moves in once as the position sharpens, unless the visitor has moved the map meanwhile. A map opened by a link to a place or a route stays on that place or route.
- The dot: blue, with a ring that shows how sure the phone is. In 3D it stands on the block the visitor is in, and is shown faint when a block stands in front of it.
- The button: one press shows the position; a press while the dot is on screen turns it off; a press while the dot is off screen brings the map back to it.
- A route from where they stand (on a map with wayfinding): with the dot on the plan, My location is the first choice in the route builder's From list. A tap on the dot offers Route from here — with a route already drawn it moves that route's start to where they stand now. Sharing such a route sends a link with the destination only: whoever opens it gets the way from where they stand. The route starts at the visitor and joins the nearest path by a short dotted line; it is drawn from where they stood when they asked, and does not follow them as they walk. A visitor outside the map, or one who turned location off, is not offered it. On a phone that has not been asked yet the row reads Use my location and asks first.
- No dot: a short notice says why — location is turned off for the site in the browser, the visitor is outside the map, or the phone could not find its position.
- On a computer nothing is shown: a computer has no GPS, and its user is rarely on the site.
The texts are in the map's language; every built-in language has them.
Privacy
The visitor's position stays in their browser. It is not sent to Layota's servers, is not recorded by analytics, and is not passed to the page the map is embedded in.
A route from the visitor's position is recorded as a route "from My location" (source: visitor-location) with the destination — never with coordinates, a point of the plan or the place the route joined the paths.
With analytics on, the map's own events are recorded as for any visitor — among them panMove, which says how the map was moved. A map that has just centred on the visitor is moved from there, so if this matters to you, switch the panMove event off in the Analytics panel.
Embedding
embed.js gives the map leave to ask for the position; the JavaScript SDK does from the release after 0.3.0. A plain <iframe> needs geolocation in its allow attribute — see Embed on a website. The page must be served over HTTPS: browsers give a position only to a secure page.