mapping-component-package-jp 0.0.27 → 0.0.28
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
|
@@ -2484,9 +2484,11 @@ export class MapOverlayManager {
|
|
|
2484
2484
|
fmarkers_clear();
|
|
2485
2485
|
fPolies_clear();
|
|
2486
2486
|
|
|
2487
|
+
console.log('SACadastral_DrawSACadastral before adding map listeners');
|
|
2488
|
+
|
|
2487
2489
|
var mdeListener = google.maps.event.addListener(map, 'dragend', function() {
|
|
2488
2490
|
if(map.getZoom() >= 12 && map.getZoom() <= 17) {
|
|
2489
|
-
console.log('SACadastral, map on dragend');
|
|
2491
|
+
console.log('SACadastral, map on dragend, zoom >= 12 and zoom <= 17');
|
|
2490
2492
|
eventHandlers["ReloadCadastralData"]({
|
|
2491
2493
|
type: 'SUCCESS',
|
|
2492
2494
|
message: 'Reload cadastral data on dragend',
|
|
@@ -2495,6 +2497,7 @@ export class MapOverlayManager {
|
|
|
2495
2497
|
});
|
|
2496
2498
|
|
|
2497
2499
|
} else {
|
|
2500
|
+
console.log('SACadastral, map on dragend, zoom < 12 or zoom > 17');
|
|
2498
2501
|
mapListeners_clear();
|
|
2499
2502
|
fPolies_clear();
|
|
2500
2503
|
}
|
|
@@ -2503,7 +2506,7 @@ export class MapOverlayManager {
|
|
|
2503
2506
|
|
|
2504
2507
|
var mzcListener = google.maps.event.addListener(map, 'zoom_changed', function() {
|
|
2505
2508
|
if(map.getZoom() >= 12 && map.getZoom() <= 17) {
|
|
2506
|
-
console.log('SACadastral, map on zoom changed');
|
|
2509
|
+
console.log('SACadastral, map on zoom changed, zoom >= 12 and zoom <= 17');
|
|
2507
2510
|
eventHandlers["ReloadCadastralData"]({
|
|
2508
2511
|
type: 'SUCCESS',
|
|
2509
2512
|
message: 'Reload cadastral data on zoom changed',
|
|
@@ -2511,6 +2514,7 @@ export class MapOverlayManager {
|
|
|
2511
2514
|
data: null
|
|
2512
2515
|
});
|
|
2513
2516
|
} else {
|
|
2517
|
+
console.log('SACadastral, map on zoom changed, zoom < 12 or zoom > 17');
|
|
2514
2518
|
mapListeners_clear();
|
|
2515
2519
|
fPolies_clear();
|
|
2516
2520
|
}
|