mapping-component-package-jp 0.0.33 → 0.0.34

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.33",
3
+ "version": "0.0.34",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2488,11 +2488,11 @@ export class MapOverlayManager {
2488
2488
  fmarkers_clear();
2489
2489
  fPolies_clear();
2490
2490
 
2491
- console.log('SACadastral_DrawSACadastral before adding map listeners');
2491
+ //console.log('SACadastral_DrawSACadastral before adding map listeners');
2492
2492
 
2493
2493
  var mdeListener = google.maps.event.addListener(map, 'dragend', function() {
2494
- if(map.getZoom() >= 13 && map.getZoom() <= 17) {
2495
- console.log('SACadastral, map on dragend, zoom >= 13 and zoom <= 17');
2494
+ if(map.getZoom() >= 12 && map.getZoom() <= 17) {
2495
+ //console.log('SACadastral, map on dragend, zoom >= 12 and zoom <= 17');
2496
2496
  eventHandlers["ReloadCadastralData"]({
2497
2497
  type: 'SUCCESS',
2498
2498
  message: 'Reload cadastral data on dragend',
@@ -2501,11 +2501,11 @@ export class MapOverlayManager {
2501
2501
  });
2502
2502
 
2503
2503
  } else {
2504
- console.log('SACadastral, map on dragend, zoom < 13 or zoom > 17');
2504
+ //console.log('SACadastral, map on dragend, zoom < 12 or zoom > 17');
2505
2505
  mapListeners_clear();
2506
2506
  fPolies_clear();
2507
- if(map.getZoom() < 13) {
2508
- map.setZoom(13);
2507
+ if(map.getZoom() < 12) {
2508
+ map.setZoom(12);
2509
2509
  }
2510
2510
  if(map.getZoom() > 17) {
2511
2511
  map.setZoom(17);
@@ -2521,8 +2521,8 @@ export class MapOverlayManager {
2521
2521
  mapListeners.push(mdeListener);
2522
2522
 
2523
2523
  var mzcListener = google.maps.event.addListener(map, 'zoom_changed', function() {
2524
- if(map.getZoom() >= 13 && map.getZoom() <= 17) {
2525
- console.log('SACadastral, map on zoom changed, zoom >= 13 and zoom <= 17');
2524
+ if(map.getZoom() >= 12 && map.getZoom() <= 17) {
2525
+ //console.log('SACadastral, map on zoom changed, zoom >= 12 and zoom <= 17');
2526
2526
  eventHandlers["ReloadCadastralData"]({
2527
2527
  type: 'SUCCESS',
2528
2528
  message: 'Reload cadastral data on zoom changed',
@@ -2530,11 +2530,11 @@ export class MapOverlayManager {
2530
2530
  data: null
2531
2531
  });
2532
2532
  } else {
2533
- console.log('SACadastral, map on zoom changed, zoom < 13 or zoom > 17');
2533
+ //console.log('SACadastral, map on zoom changed, zoom < 12 or zoom > 17');
2534
2534
  mapListeners_clear();
2535
2535
  fPolies_clear();
2536
- if(map.getZoom() < 13) {
2537
- map.setZoom(13);
2536
+ if(map.getZoom() < 12) {
2537
+ map.setZoom(12);
2538
2538
  }
2539
2539
  if(map.getZoom() > 17) {
2540
2540
  map.setZoom(17);
@@ -2550,8 +2550,8 @@ export class MapOverlayManager {
2550
2550
  mapListeners.push(mzcListener);
2551
2551
 
2552
2552
  var mbcListener = google.maps.event.addListenerOnce(map, 'bounds_changed', function() {
2553
- if(map.getZoom() >= 13 && map.getZoom() <= 17) {
2554
- console.log('SACadastral, map on bounds changed, zoom >= 13 and zoom <= 17');
2553
+ if(map.getZoom() >= 12 && map.getZoom() <= 17) {
2554
+ //console.log('SACadastral, map on bounds changed, zoom >= 12 and zoom <= 17');
2555
2555
  eventHandlers["ReloadCadastralData"]({
2556
2556
  type: 'SUCCESS',
2557
2557
  message: 'Reload cadastral data on bounds changed',
@@ -2559,16 +2559,15 @@ export class MapOverlayManager {
2559
2559
  data: null
2560
2560
  });
2561
2561
  } else {
2562
- console.log('SACadastral, map on bounds changed, zoom < 13 or zoom > 17');
2562
+ //console.log('SACadastral, map on bounds changed, zoom < 12 or zoom > 17');
2563
2563
  mapListeners_clear();
2564
2564
  fPolies_clear();
2565
- if(map.getZoom() < 13) {
2566
- map.setZoom(13);
2565
+ if(map.getZoom() < 12) {
2566
+ map.setZoom(12);
2567
2567
  }
2568
2568
  if(map.getZoom() > 17) {
2569
2569
  map.setZoom(17);
2570
2570
  }
2571
-
2572
2571
  eventHandlers["ReloadCadastralData"]({
2573
2572
  type: 'SUCCESS',
2574
2573
  message: 'Reload cadastral data on bounds changed, zoom outside range',
@@ -2579,7 +2578,7 @@ export class MapOverlayManager {
2579
2578
  });
2580
2579
  mapListeners.push(mbcListener);
2581
2580
 
2582
- if(map.getZoom() >= 13 && map.getZoom() <= 17) {
2581
+ if(map.getZoom() >= 12 && map.getZoom() <= 17) {
2583
2582
  Display_SACadastral(saCadastralJson, offsetX, offsetY, vmWidth, isDashboard, fitBounds);
2584
2583
  }
2585
2584
  }