commit d2d671ae55243f5302a6dd2a1cb820879590117c
parent a2936b7b6e2dda242c3c089333c5d820879029e9
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Fri, 6 May 2022 20:41:57 +0200
mapillary: enable image cache and remove zoom controls
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/leaflet.control.panoramas/lib/mapillary/index.js b/src/lib/leaflet.control.panoramas/lib/mapillary/index.js
@@ -79,7 +79,7 @@ const Viewer = L.Evented.extend({
{
container: id,
accessToken: config.mapillary4,
- component: {cover: false, bearing: false, cache: false}
+ component: {cover: false, bearing: false, cache: true, zoom: true},
});
viewer.on('image', this.onNodeChanged.bind(this));
this.createCloseButton(container);