Sortello

Blog

A closer look at maps in notes

A trip note usually starts as a list of towns with a guessed number of hours next to each. What you want is that list on a map, with the actual route between the stops and how long the drive takes. Ask an assistant to draw one and you get a picture you can't zoom into, which is out of date as soon as you move a stop.

So notes can hold maps now.

What it looks like

A map is one line in a note. Here's what this looks like for a short trip:

![[map: 38.7223,-9.1393 "Lisbon"; 39.6020,-9.0700 "Nazaré"; 41.1579,-8.6291 "Porto" | path: road]]

On the page, that line turns into a map you can drag and zoom, with a marker and label for each place and the driving route drawn between them. Below it, a caption gives the distance in kilometres and the driving time. Places without a label are numbered in order.

You don't need to write that line yourself. Ask your assistant: "put a map of the stops on my Portugal trip note, with the driving route." It looks up the coordinates and writes the line. When you change your mind about a stop, ask it to swap one out, and the map and the route follow.

The options

What happens behind it

The map tiles are OpenStreetMap's. Your browser fetches them from Sortello, not from OpenStreetMap directly; Sortello fetches each tile once and keeps it for a week, so the tile servers don't see who's looking at which part of the world. The driving route comes from OSRM, an open source route planner, which gets the coordinates of the places and nothing else.

Limits

Routes are driving only for now; no walking, cycling or public transport. If the route service doesn't answer, the map falls back to straight lines and the caption says so. And the map lives in the note: exports to PDF or Word list the places and their coordinates as text rather than drawing the map.

It's marked as a trial because I'd like to see how people use it before I add more. If you plan something with it, I'd like to hear what was missing: support@sortello.com.