Skip to content
DezfilDocsv0.1.0

Basemaps and imagery

Choose which basemaps the instance offers, set up satellite imagery, and pin a basemap style of your own.

An admin sets the basemap switches and the satellite imagery on the Libraries tab of Settings. The deployment’s own basemap style is a variable alone.

SettingVariableSettings keyDefaultValuesWhat it doesChanges
Basemaps › Darkbasemaps.darkontrue or falseWhether Dark is offered where a basemap is chosen: the builder’s picker, a published page’s switcher and the Maps tab. Off, choosing it anew is refused; a map already on it keeps it. Auto keeps following the theme with it either way.In Settings, live
Basemaps › Lightbasemaps.lightontrue or falseWhether Light is offered where a basemap is chosen: the builder’s picker, a published page’s switcher and the Maps tab. Off, choosing it anew is refused; a map already on it keeps it. Auto keeps following the theme with it either way.In Settings, live
Basemaps › Streetsbasemaps.streetsontrue or falseWhether Streets is offered where a basemap is chosen: the builder’s picker, a published page’s switcher and the Maps tab. Off, choosing it anew is refused; a map already on it keeps it.In Settings, live
Basemaps › Satellitebasemaps.satelliteontrue or falseWhether Satellite is offered, while imagery is set up, where a basemap is chosen: the builder’s picker, a published page’s switcher and the Maps tab. Off, choosing it anew is refused; a map already on it keeps it.In Settings, live
Style addresses on single mapsbasemaps.singleMapStylesontrue or falseWhether a map may take a style address the library does not offer. Off, such an address is refused on any map, for everyone, admins included; a map that holds one keeps it.In Settings, live
Tile addressDEZFIL_SATELLITE_URLsatelliteUrlunsetAn http or https address, up to 2,048 characters, holding {z}, {x} and {y}, with no user name or password, in Settings; any address as a variableRaster tile template enabling satellite imagery.In Settings, live; by variable, after a restart
Satellite imagery › CreditDEZFIL_SATELLITE_ATTRIBUTIONsatelliteAttributionunsetText, up to 160 characters, in Settings; any text as a variableCredit line required by the imagery provider.In Settings, live; by variable, after a restart
Basemap addressDEZFIL_BASEMAP_URLbuilt-in stylesA MapLibre style addressA basemap style that Auto draws in both themes, in place of the built-in ones.By variable, after a restart
Basemap creditDEZFIL_BASEMAP_ATTRIBUTIONunsetTextThe credit maps show for the style DEZFIL_BASEMAP_URL names.By variable, after a restart
  • The satellite tile address never reaches a browser. The server fetches each tile and passes it back, so the imagery provider sees your server, not each viewer. A key limited to browser origins needs that limit lifted.
  • Without a readable tile address, Satellite leaves every basemap picker. A map already on it draws the default style until an address is saved again.
  • With DEZFIL_BASEMAP_URL set and no DEZFIL_BASEMAP_ATTRIBUTION, maps show no credit for the basemap.

Configuration shows how to set a variable and which value wins.

Dezfil · Apache-2.0docs from 7439201b