Skip to content

Query shortcuts

In order to allow for querying Overpass with the extents of the MapLibre viewport, Ultra replaces any occurences of {{bbox}} in the query with the bounding box in the format expected by the Overpass API.

For example:

[bbox:{{bbox}}];
nwr[shop];
out center;

Other formats

If you need to specify the coordinates in a different order, you can use the following shortcuts for the min and max of both lattitude and longitude:

  • {{south}}
  • {{north}}
  • {{east}}
  • {{west}}

Example