Originally I built Leaflet Maps Marker to be able to display maps from http://data.wien.gv.at provided by the City of Vienna within their wonderful open government and open data initiative. I soon recognized that there is a much wider audience than the Viennese citizens which might be interested in the plugin 😉 and started integrating basemaps from OpenStreetMap, Mapquest, Google, Bing etc. Anyway – thanks to the wonderful library leafletjs.com, which builds the basis for my plugin, you can also use other basemaps thanks to the support of WMTS-APIs. In Austria, it is great to see that the public authorities are now working together to create a free and performant basemap for all of Austria. They map uses TileCache/WebMercatorAuxiliarySphere, provided through OpenGIS Web Map Tile Service 1.0.0 (WMTS) and licensed under creative commons (CC-BY 3.0 AT). More details (in German) can be found at www.basemap.at. Below a screenshot of the map (currently still beta – not all parts of Austria are available in high resolutions):
Using this basemap in your Leaflet Maps Marker installation is very easy (for example if you are @GeorgHolzer and want to do a Austrian wide rollout of pingeb.org – the first NFC plugin turning the city of Klagenfurt – and soon Vienna – into a virtual library 😉 ). You just have to follow these steps:
- Navigate to Settings / Basemaps / Custom Basemap 1 settings
- Enter the following information into the form fields:
- TilesURL: https://{s}.wien.gv.at/basemap/geolandbasemap/normal/google3857/{z}/{y}/{x}.png
- Attribution: Karte: <a href=”http://basemap.at” target=”_blank”>basemap.at</a>, <a href=”http://creativecommons.org/licenses/by/3.0/at/deed.de” target=”_blank”>CC-BY 3.0</a>
- Minimum Zoom Level: 1
- Maximum Zoom Level: 18
- tms: false
- support for subdomains: enabled
- subdomain names: “maps”, “maps1”, “maps2”, “maps3”
- Enable continuousWorld?: false
- Enable nowrap?: false
- Show errorTile-images if map could not be loaded?: true
- Navigate to Settings / Map Defaults / Available basemaps in control box
- Tick the checkbox for “Custom basemap”
- Navigate to Settings / Map Defaults / Names for default basemaps
- Change entry for “Custom Basemap” to basemap.at
- Click on button “Save Changes”
Done. Afterwards you can use the basemap when creating a new marker or layer map.
Thx for the info Hartwig – I updated the documentation to use the .png format and https instead of http which I would recommend anyway…