Technical Documentation

From SmartHubs
Jump to: navigation, search

Adding ÖPNVKarte layer for Maps

in extensions/Maps/resources/lib/leaflet-providers/leaflet-providers.js add:

oepnvkarte: { 
  url: 'https://tileserver.memomaps.de/tilegen//{z}/{x}/{y}.png', 
  options: { 
    maxZoom: 16, 
    attribution: 'Map: <a href="https://memomaps.de">memomaps.de</a> (<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>), Map data: {attribution.OpenStreetMap}' 
  } 
}