nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 26f10cbd587371378d2d3e0d7440f1e00d549cbc
parent ce87f6507fa6410fc7bee7a57d296840b6c8bce7
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Thu,  9 Feb 2017 11:34:57 +0300

[panoramas] forgottent import

Diffstat:
Msrc/lib/leaflet.control.panoramas/index.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/leaflet.control.panoramas/index.js b/src/lib/leaflet.control.panoramas/index.js @@ -2,7 +2,7 @@ import L from 'leaflet'; import './style.css'; import 'lib/controls-styles/controls-styles.css'; import getGoogle from 'lib/googleMapsApi'; - +import 'lib/leaflet.hashState/leaflet.hashState'; L.Control.Panoramas = L.Control.extend({ includes: L.Mixin.Events, @@ -220,6 +220,7 @@ L.Control.Panoramas.include({ }, unserializeState: function(state) { + if (!state) { this.hidePanorama(); this.hideCoverage();