Skip to content

Commit

Permalink
Set minZoom for cadastre layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Jan 12, 2024
1 parent 3790f87 commit d03fec0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prs2/referral/static/js/referral_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const cadastre = L.tileLayer.wms(mapproxy_url, {
opacity: 0.75,
tileSize: 1024,
zoomOffset: -2,
minZoom: 12,
});
const prsLocations = L.tileLayer.wms(prs_geoserver_url, {
layers: 'prs:prs_locations_view',
Expand Down Expand Up @@ -189,3 +190,5 @@ var findLot = function(lotname) {
}
});
};
// Log zoom level to console.
//map.on('zoomend', function (e) {console.log(e.target._zoom)});

0 comments on commit d03fec0

Please sign in to comment.