Package not found. Please check the package name and try again.

@panoramax/web-viewer 4.0.3-develop-b705794f → 4.0.3-develop-bcecb20b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.0.3-develop-b705794f",
3
+ "version": "4.0.3-develop-bcecb20b",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -1,3 +1,7 @@
1
+ .maplibregl-map.pnx-map {
2
+ background: white;
3
+ }
4
+
1
5
  /* Picture thumbnail on map */
2
6
  .maplibregl-popup-content {
3
7
  padding: 5px !important;
package/src/utils/map.js CHANGED
@@ -220,6 +220,11 @@ export function combineStyles(parent, options) {
220
220
  style.layers.push(capitalLayer);
221
221
  }
222
222
 
223
+ // Fix for maxzoom on IGN tiles
224
+ if(style?.sources?.plan_ign) {
225
+ style.sources.plan_ign.maxzoom = 18;
226
+ }
227
+
223
228
  return style;
224
229
  }
225
230