Skip to content

Commit

Permalink
Enable additional zoom levels due to loss of precision and display pa…
Browse files Browse the repository at this point in the history
…rking spaces
  • Loading branch information
bchapuis committed Jan 8, 2025
1 parent 887461a commit 998bd93
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion basemap/layers/amenity/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,20 @@ let directives = [
['any',
['==', ['get', 'amenity'], 'bicycle_parking'],
['==', ['get', 'amenity'], 'motorcycle_parking'],
['==', ['get', 'amenity'], 'parking_space'],
['==', ['get', 'amenity'], 'parking'],
],
],
'fill-color': theme.amenityParkingOverlayFillColor,
},
{
filter: [
'all',
['!=', ['get', 'layer'], '-1'],
['==', ['get', 'amenity'], 'parking_space'],
],
'fill-color': theme.amenityParkingOverlayFillColor,
'fill-outline-color': theme.amenityParkingOverlayOutlineColor,
},
];

export default asLayerObject(withSortKeys(directives), {
Expand Down
2 changes: 1 addition & 1 deletion basemap/tileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
"center": [...config.center, config.zoom],
"bounds": [...config.bounds],
"minzoom": 0.0,
"maxzoom": 14.0,
"maxzoom": 16.0,
"tiles": [
`${config.host}/tiles/{z}/{x}/{y}.mvt`
],
Expand Down

0 comments on commit 998bd93

Please sign in to comment.