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