diff --git a/app/src/frontend/map/map.tsx b/app/src/frontend/map/map.tsx index 84697c36..5a8a8789 100644 --- a/app/src/frontend/map/map.tsx +++ b/app/src/frontend/map/map.tsx @@ -112,10 +112,12 @@ class ColouringMap extends Component { // const baseLayer = ; const buildingsBaseUrl = `/tiles/base_${this.state.theme}/{z}/{x}/{y}{r}.png`; - const buildingBaseLayer = ; + const buildingBaseLayer = ; // colour-data tiles const cat = this.props.category; @@ -136,6 +138,7 @@ class ColouringMap extends Component { // key={tileset} url={`/tiles/${tileset}/{z}/{x}/{y}{r}.png?rev=${rev}`} minZoom={9} + maxZoom={19} /> : null; @@ -144,7 +147,8 @@ class ColouringMap extends Component { // : null; @@ -157,7 +161,7 @@ class ColouringMap extends Component { // center={position} zoom={this.state.zoom} minZoom={9} - maxZoom={18} + maxZoom={19} doubleClickZoom={false} zoomControl={false} attributionControl={false} diff --git a/app/src/tiles/rendererDefinition.ts b/app/src/tiles/rendererDefinition.ts index 16b6865e..db3aef84 100644 --- a/app/src/tiles/rendererDefinition.ts +++ b/app/src/tiles/rendererDefinition.ts @@ -34,7 +34,7 @@ const tileCache = new TileCache( { tilesets: ['date_year', 'size_storeys', 'location', 'likes', 'conservation_area', 'sust_dec', 'building_attachment_form'], minZoom: 9, - maxZoom: 18, + maxZoom: 19, scales: [1, 2] }, ({ tileset, z }: TileParams) => (tileset === 'date_year' && z <= 16) ||