diff --git a/landmapper/app/static/landmapper/js/map.js b/landmapper/app/static/landmapper/js/map.js index e655165..30eccc1 100644 --- a/landmapper/app/static/landmapper/js/map.js +++ b/landmapper/app/static/landmapper/js/map.js @@ -9,8 +9,8 @@ var mapView = new ol.View({ }); var taxlotSource; -if (landmapper.taxlot_layer['technology'] === 'TileWMS') { - taxlotSource = new ol.source.TileWMS({ +if (landmapper.taxlot_layer['technology'] === 'ImageWMS') { + taxlotSource = new ol.source.ImageWMS({ url: landmapper.taxlot_layer['url'], params: landmapper.taxlot_layer['params'], serverType: landmapper.taxlot_layer['server_type'], @@ -28,7 +28,7 @@ if (landmapper.taxlot_layer['technology'] === 'TileWMS') { }); } -landmapper.taxlotLayer = new ol.layer.Tile({ +landmapper.taxlotLayer = new ol.layer.Image({ visible: true, title: 'Taxlots', minZoom: 10, diff --git a/landmapper/landmapper/settings.py b/landmapper/landmapper/settings.py index f8e3f68..3c50a6b 100644 --- a/landmapper/landmapper/settings.py +++ b/landmapper/landmapper/settings.py @@ -1223,7 +1223,7 @@ 'TECHNOLOGY': 'wms', 'WMS_VERSION': '1.3.0', 'TILE_LAYER': 'or_taxlots_2026', - 'OL_TECHNOLOGY': 'TileWMS', + 'OL_TECHNOLOGY': 'ImageWMS', 'SERVER_TYPE': 'qgis', 'ZOOM_OVERLAY_2X': False, 'ATTRIBUTION': {'source': 'ORMAP', 'attribution': None} @@ -1246,7 +1246,7 @@ 'TECHNOLOGY': 'wms', 'WMS_VERSION': '1.3.0', 'TILE_LAYER': 'wa_taxlots_2026', - 'OL_TECHNOLOGY': 'TileWMS', + 'OL_TECHNOLOGY': 'ImageWMS', 'SERVER_TYPE': 'qgis', 'ZOOM_OVERLAY_2X': False, 'ATTRIBUTION': {