mapping-component-package-jp 0.0.31 → 0.0.32

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapping-component-package-jp",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2506,9 +2506,9 @@ export class MapOverlayManager {
2506
2506
  fPolies_clear();
2507
2507
  eventHandlers["ReloadCadastralData"]({
2508
2508
  type: 'SUCCESS',
2509
- message: 'Reload cadastral data on dragend',
2509
+ message: 'Reload cadastral data on dragend, zoom outside range',
2510
2510
  code: 200,
2511
- data: null
2511
+ data: map.getZoom()
2512
2512
  });
2513
2513
  }
2514
2514
  });
@@ -2529,15 +2529,15 @@ export class MapOverlayManager {
2529
2529
  fPolies_clear();
2530
2530
  eventHandlers["ReloadCadastralData"]({
2531
2531
  type: 'SUCCESS',
2532
- message: 'Reload cadastral data on zoom changed',
2532
+ message: 'Reload cadastral data on zoom changed, zoom outside range',
2533
2533
  code: 200,
2534
- data: null
2534
+ data: map.getZoom()
2535
2535
  });
2536
2536
  }
2537
2537
  });
2538
2538
  mapListeners.push(mzcListener);
2539
2539
 
2540
- var mbcListener = google.maps.event.addListener(map, 'bounds_changed', function() {
2540
+ var mbcListener = google.maps.event.addListenerOnce(map, 'bounds_changed', function() {
2541
2541
  if(map.getZoom() >= 12 && map.getZoom() <= 17) {
2542
2542
  console.log('SACadastral, map on bounds changed, zoom >= 12 and zoom <= 17');
2543
2543
  eventHandlers["ReloadCadastralData"]({
@@ -2552,9 +2552,9 @@ export class MapOverlayManager {
2552
2552
  fPolies_clear();
2553
2553
  eventHandlers["ReloadCadastralData"]({
2554
2554
  type: 'SUCCESS',
2555
- message: 'Reload cadastral data on bounds changed',
2555
+ message: 'Reload cadastral data on bounds changed, zoom outside range',
2556
2556
  code: 200,
2557
- data: null
2557
+ data: map.getZoom()
2558
2558
  });
2559
2559
  }
2560
2560
  });