We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374d4fb commit e613e8bCopy full SHA for e613e8b
src/maplibregl/overlay/MapvLayer.js
@@ -46,6 +46,7 @@ export class MapvLayer {
46
getResolution: this._getResolution,
47
validZoom: this._validZoom.bind(this)
48
}, { id: this.id, targetElement: this.mapContainer, mapElement: this.map.getCanvas() });
49
+ this.mapContainer.style.perspective = this.map.transform.cameraToCenterDistance + 'px';
50
this._bindEvent();
51
}
52
/**
0 commit comments