"git@transfer.hft-stuttgart.de:energy-ade/ade-xjc.git" did not exist on "7b775d0fca5cf986423a5b4288c308fd5cb16d57"
Commit 78b895b5 authored by Alfakhori's avatar Alfakhori
Browse files

use openmap

parent d95af9d0
Pipeline #12453 passed with stage
in 25 seconds
...@@ -38,20 +38,15 @@ function init_map() { ...@@ -38,20 +38,15 @@ function init_map() {
// Select one basemap from: // Select one basemap from:
// https://leaflet-extras.github.io/leaflet-providers/preview/ // https://leaflet-extras.github.io/leaflet-providers/preview/
var CartoDB_Positron = L.tileLayer( var OpenStreetMap_DE = L.tileLayer(
'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', 'https://tile.openstreetmap.de/{z}/{x}/{y}.png',
{ {
attribution: maxZoom: 20,
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors ' + attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
'&copy; <a href="https://carto.com/attributions">CARTO</a>',
subdomains: 'abcd',
maxZoom: 30,
minZoom: 15
} }
); );
CartoDB_Positron.addTo(mymap); OpenStreetMap_DE.addTo(mymap);
// ==================================================== // ====================================================
// User icon // User icon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment