From 826718dea2f4bf2c8b4b1a03ead5c1232b044b84 Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Wed, 15 Jan 2025 09:25:19 +0700 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B3=D1=80=D0=B0=D0=BD=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BB=D0=BE=D1=8F=20=D0=BE?= =?UTF-8?q?=D1=80=D1=82=D0=BE=D1=84=D0=BE=D1=82=D0=BE=D0=BF=D0=BB=D0=B0?= =?UTF-8?q?=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/main/templates/main_index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/main/templates/main_index.html b/apps/main/templates/main_index.html index 54d473f..5681ff1 100644 --- a/apps/main/templates/main_index.html +++ b/apps/main/templates/main_index.html @@ -328,8 +328,13 @@ scanLayer = new ol.layer.Tile({ source: new ol.source.XYZ({ - url: '/static/img/tiles/{z}/{x}/{y}.png', + url: '/static/img/tiles/{z}/{x}/{y}.png/', }), + extent: ol.proj.transformExtent( + [86.639393, 53.959368, 86.698046, 54.004628], // [minLon, minLat, maxLon, maxLat] + 'EPSG:4326', // Исходная проекция + 'EPSG:3857' // Целевая проекция + ) }); scanLayer.set('name', 'Ортофотоплан')