- 🗺️ Базовые слои (тайлы)
+ Базовые слои (тайлы)
@@ -43,7 +43,7 @@
- 📍 Слой маркеров (Playback)
+ Слой маркеров (Playback)
@@ -51,7 +51,7 @@
- ✏️ Слои рисования
+ Слои рисования
diff --git a/dbapp/static/js/custom_marker_tool.js b/dbapp/static/js/custom_marker_tool.js
index 23e75f3..5e5a887 100644
--- a/dbapp/static/js/custom_marker_tool.js
+++ b/dbapp/static/js/custom_marker_tool.js
@@ -385,11 +385,12 @@ class CustomMarkerTool {
this.map.on('click', this.clickHandler);
// Show instruction
- this.showInstruction('Кликните на карту для размещения маркера. ESC для отмены.');
+ this.showInstruction('Кликните на карту для размещения маркера.');
// Add keyboard handlers
this.keyHandler = (e) => {
if (e.key === 'Escape') {
+ console.log("Жму кнопку");
this.deactivate();
} else if (e.key === 'Enter' && this.pendingMarkerLatLng) {
this.placeMarker(this.pendingMarkerLatLng);
@@ -526,17 +527,17 @@ class CustomMarkerTool {
}
instruction.innerHTML = `
${text}
-
`;
+ //
instruction.style.display = 'flex';
// Add finish button handler