Skip to main content

Scopes list

A scope defines the geographic area and feature layer rendered by maproll. Every request must specify a scope via the scope parameter. The available scopes are loaded from the geo asset manifest at server boot.

Shipped scopes

Scope IDLayerDetail levelFile sizeDefault?
worldcountrieslow~264 KBYes (default level)
worldcountriesmedium~804 KB
worldcountrieshigh~2.7 MB
ROregionslow~52 KB
ROregionsmedium~180 KBYes (default level)
ROregionshigh~484 KB

Per-scope defaults

Scope IDDefault detail levelDefault projection
worldlownaturalEarth1
ROmediumconicConformal

Omitting the level parameter uses the default for that scope. Omitting projection uses the scope's default projection.

Detail levels

  • low — optimised for small embeds and thumbnails. Fewest vertices; smallest file transferred per request.
  • medium — general-purpose. Good balance of quality and file size for most use cases.
  • high — maximum detail. Use for large print outputs or zoomed insets. Adds visible render latency on first call (not yet cached).

Adding new scopes

Scopes are not self-service today. Adding a new geography requires:

  1. Sourcing and downloading the OSM-exported GeoJSON for the country or region.
  2. Running the build pipeline (npm run build:geo) to produce low/medium/high TopoJSON assets.
  3. Registering the scope in src/geo/scopes.ts and rebuilding the manifest.

Reach out if you need a scope that isn't listed here.