map update

This commit is contained in:
Ivan 2023-10-03 16:16:38 +03:00
parent 3a47d54380
commit 14c9b8c577
Signed by untrusted user who does not match committer: ppechenkoo
GPG Key ID: 0C191B86D9582583
6 changed files with 10 additions and 8 deletions

View File

@ -2111,7 +2111,7 @@ input[type="datetime-local"] {
padding-left: 7px;
padding-top: 4px;
padding-bottom: 2px;
margin-left: -40%;
margin-left: -25%;
margin-bottom: 3px;
font-weight: bold;
font-size: 14px !important;
@ -2119,6 +2119,8 @@ input[type="datetime-local"] {
.marker {
cursor: grab !important;
top: -35px !important;
left: -10px !important;
}
.leaflet-marker-icon {

View File

@ -443,7 +443,7 @@
var map = L.map('map').setView([59.855198, 30.282995], 12);
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
map.zoomControl.remove();

View File

@ -106,7 +106,7 @@
var map = L.map('map').setView(startPoint, 16);
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
var routeStyle = {
color: 'red',

View File

@ -173,7 +173,7 @@
var map = L.map('map').setView(startPoint, 17);
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
var routeStyle = {
color: 'red',

View File

@ -481,7 +481,7 @@ async function sendPostRequest() {
});
// Добавляем слой с плитками OpenStreetMap
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
// Создаем слой для маршрута
const routeLayer = L.layerGroup().addTo(map);
@ -898,7 +898,7 @@ endVideoTimeInput.addEventListener("blur", sendPostRequest);
map = L.map('map').setView([59.855198, 30.282995], 10);
// Добавляем базовый слой OpenStreetMap
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
// Создаем маркеры
var startMarker = L.marker(startPoint, {

View File

@ -451,7 +451,7 @@ async function sendPostRequest() {
});
// Добавляем слой с плитками OpenStreetMap
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
// Создаем слой для маршрута
const routeLayer = L.layerGroup().addTo(map);
@ -717,7 +717,7 @@ videoTimeInput.addEventListener("blur", sendPostRequest);
map = L.map('map').setView([59.855198, 30.282995], 10);
// Добавляем базовый слой OpenStreetMap
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}').addTo(map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
// Создаем маркеры
var startMarker = L.marker(startPoint, {