Skip to content

Commit

Permalink
Merge pull request #7 from nearmap/fix-max-zoom-level
Browse files Browse the repository at this point in the history
fix(layers): Set maxZoom to 24 rather than using the default of 18.
  • Loading branch information
kollhof authored Nov 7, 2018
2 parents 370b339 + d41ca6f commit 5d018fa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/layers/east.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const East = TileLayer.extend({
export default function east(url) {
return new East(url, {
layer: 'East',
maxZoom: 24,
tileSize: new Point(width, height)
});
}
1 change: 1 addition & 0 deletions src/layers/north.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const North = TileLayer;
export default function north(url) {
return new North(url, {
layer: 'North',
maxZoom: 24,
tileSize: new Point(width, height)
});
}
1 change: 1 addition & 0 deletions src/layers/south.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const South = TileLayer.extend({
export default function south(url) {
return new South(url, {
layer: 'South',
maxZoom: 24,
tileSize: new Point(width, height)
});
}
1 change: 1 addition & 0 deletions src/layers/vert.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const Vert = TileLayer;
export default function vert(url) {
return new Vert(url, {
layer: 'Vert',
maxZoom: 24,
tileSize: new Point(width, height)
});
}
1 change: 1 addition & 0 deletions src/layers/west.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const West = TileLayer.extend({
export default function west(url) {
return new West(url, {
layer: 'West',
maxZoom: 24,
tileSize: new Point(width, height)
});
}

0 comments on commit 5d018fa

Please sign in to comment.