Maptiles is a tilecache service that provides access to background maps and detailed aerial photos. The service utilizes a standard XYZ tilescheme.
An example request is provided below, where {z}, {x}, {y}, and {apikey} are placeholders:
https://waapi.webatlas.no/maptiles/tiles/webatlas-orto-newup/wa_grid/{z}/{x}/{y}.jpeg?APITOKEN={apikey}
The available tilesets and their respective options are detailed below:
options: {
url: '//waapi.webatlas.no/maptiles/tiles/{tileset}/wa_grid/{z}/{x}/{y}.{ext}?APITOKEN={apikey}',
tileset: {
vector: {tileset: 'webatlas-standard-vektor', ext: 'png'},
aerial: {tileset: 'webatlas-orto-newup', ext: 'jpeg'},
hybrid: {tileset: 'webatlas-standard-hybrid', ext: 'jpeg'},
grey: {tileset: 'webatlas-gray-vektor', ext: 'png'},
medium: {tileset: 'webatlas-medium-vektor', ext: 'png'},
lite: {tileset: 'webatlas-lite-vektor', ext: 'png'}
},
}
To access the API, request your key here.
To add a custom tile URL in QGIS:
- Open QGIS.
- Navigate to the Layer menu:
- Select Add Layer.
- Choose Add XYZ Layer...
- In the XYZ Connection dialog:
- Input a name, e.g., "WebAtlas".
- Paste the URL in the URL field.
- Click OK.
- The "WebAtlas" layer will appear in the XYZ Tiles section. If it's not visible, go to View → Panels → Browser.
- To add the layer to your project, double-click on it or drag it to the Layers Panel.
Note: Remember to append your API token to the APITOKEN=
parameter in the URL.
We offer an open-source plugin for Leaflet.js:
For other libraries or desktop systems, refer to the URL schemes mentioned above and the examples and tutorials provided below.
- getting started - maptiles in leaflet.js
- getting started - maptiles in mapbox.gl
- getting started - fritekstsok
- React App Demo - Demonstrating maptiles, fritekstsok, and matrikkelkart in a simple React app.
- Leaflet-webatlastile Example