mapping-component-package-jp 0.0.36 → 0.0.37
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
|
@@ -2493,7 +2493,7 @@ export class MapOverlayManager {
|
|
|
2493
2493
|
var mdeListener = google.maps.event.addListener(map, 'dragend', function() {
|
|
2494
2494
|
if(map.getZoom() >= 12 && map.getZoom() <= 17) {
|
|
2495
2495
|
//console.log('SACadastral, map on dragend, zoom >= 12 and zoom <= 17');
|
|
2496
|
-
map.setOptions({ scrollwheel: true });
|
|
2496
|
+
//map.setOptions({ scrollwheel: true });
|
|
2497
2497
|
eventHandlers["ReloadCadastralData"]({
|
|
2498
2498
|
type: 'SUCCESS',
|
|
2499
2499
|
message: 'Reload cadastral data on dragend',
|
|
@@ -2502,7 +2502,7 @@ export class MapOverlayManager {
|
|
|
2502
2502
|
});
|
|
2503
2503
|
|
|
2504
2504
|
} else {
|
|
2505
|
-
map.setOptions({ scrollwheel: false });
|
|
2505
|
+
//map.setOptions({ scrollwheel: false });
|
|
2506
2506
|
//console.log('SACadastral, map on dragend, zoom < 12 or zoom > 17');
|
|
2507
2507
|
mapListeners_clear();
|
|
2508
2508
|
fPolies_clear();
|
|
@@ -2525,7 +2525,7 @@ export class MapOverlayManager {
|
|
|
2525
2525
|
var mzcListener = google.maps.event.addListener(map, 'zoom_changed', function() {
|
|
2526
2526
|
if(map.getZoom() >= 12 && map.getZoom() <= 17) {
|
|
2527
2527
|
//console.log('SACadastral, map on zoom changed, zoom >= 12 and zoom <= 17');
|
|
2528
|
-
map.setOptions({ scrollwheel: true });
|
|
2528
|
+
//map.setOptions({ scrollwheel: true });
|
|
2529
2529
|
eventHandlers["ReloadCadastralData"]({
|
|
2530
2530
|
type: 'SUCCESS',
|
|
2531
2531
|
message: 'Reload cadastral data on zoom changed',
|
|
@@ -2534,7 +2534,7 @@ export class MapOverlayManager {
|
|
|
2534
2534
|
});
|
|
2535
2535
|
} else {
|
|
2536
2536
|
//console.log('SACadastral, map on zoom changed, zoom < 12 or zoom > 17');
|
|
2537
|
-
map.setOptions({ scrollwheel: false });
|
|
2537
|
+
//map.setOptions({ scrollwheel: false });
|
|
2538
2538
|
mapListeners_clear();
|
|
2539
2539
|
fPolies_clear();
|
|
2540
2540
|
if(map.getZoom() < 12) {
|
|
@@ -2556,7 +2556,7 @@ export class MapOverlayManager {
|
|
|
2556
2556
|
var mbcListener = google.maps.event.addListenerOnce(map, 'bounds_changed', function() {
|
|
2557
2557
|
if(map.getZoom() >= 12 && map.getZoom() <= 17) {
|
|
2558
2558
|
//console.log('SACadastral, map on bounds changed, zoom >= 12 and zoom <= 17');
|
|
2559
|
-
map.setOptions({ scrollwheel: true });
|
|
2559
|
+
//map.setOptions({ scrollwheel: true });
|
|
2560
2560
|
eventHandlers["ReloadCadastralData"]({
|
|
2561
2561
|
type: 'SUCCESS',
|
|
2562
2562
|
message: 'Reload cadastral data on bounds changed',
|
|
@@ -2565,7 +2565,7 @@ export class MapOverlayManager {
|
|
|
2565
2565
|
});
|
|
2566
2566
|
} else {
|
|
2567
2567
|
//console.log('SACadastral, map on bounds changed, zoom < 12 or zoom > 17');
|
|
2568
|
-
map.setOptions({ scrollwheel: false });
|
|
2568
|
+
//map.setOptions({ scrollwheel: false });
|
|
2569
2569
|
mapListeners_clear();
|
|
2570
2570
|
fPolies_clear();
|
|
2571
2571
|
if(map.getZoom() < 12) {
|