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() {
// Select one basemap from:
// https://leaflet-extras.github.io/leaflet-providers/preview/
var CartoDB_Positron = L.tileLayer(
'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',
{
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
}
var OpenStreetMap_DE = L.tileLayer(
'https://tile.openstreetmap.de/{z}/{x}/{y}.png',
{
maxZoom: 20,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}
);
CartoDB_Positron.addTo(mymap);
OpenStreetMap_DE.addTo(mymap);
// ====================================================
// 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