Skip to content

Driving routes inside your mini app

Updated

Show guests the road to a hotel, plan a road trip or calculate delivery distance. The route line, distance and driving time appear on the app screen.

A route to Sochi on the map with a campsite card below
A driving route and a roadside campsite in the app preview.

How to add a route

  1. 1

    Add the Route planner block

    Search the block palette for “route” and place it on the screen that needs a map.

  2. 2

    Set the start and finish

    Enter coordinates or use fields from the selected record. The same map can then serve every place card.

  3. 3

    Open the preview

    Check the route, distance and driving time. The editor canvas shows a straight sample line. The preview and published app calculate the route along roads.

What the map can show

A route from A to B
A line on the map, distance and estimated driving time. Available on every plan.
Places along the way
Use campsites, cafés or fuel stations from your own table. They appear as pins and cards below the map. Visitors can filter them by category.
Stops and alternatives
On Pro, Studio and the trial, visitors can add stops, compare routes and split a trip into days by setting a daily driving distance.

Calculate distance for delivery

On Pro, Studio and the trial, the Calculate route action saves distance and driving time in a variable. Use the distance in a delivery formula or save the result to a table.

Requirements and limits

  • The planner uses OpenStreetMap data for driving routes. Road coverage includes Russia, Georgia and Turkey.
  • Each plan has a calculation allowance. A result returned from the cache does not count towards it.

Questions people ask

Can I use places from Google Sheets?
Yes. Connect the sheet to a project table, select it under Places along the route, and choose the name and coordinate columns.
Can the route avoid toll roads?
On Pro, Studio and the trial, the planner can try to avoid toll roads, ferries and unpaved roads where possible.

Try a route with your own stops

Add the block in the editor and open the preview to see the route on the map.

Open the builder