mapping-component-package-jp 0.0.10 → 0.0.11

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.10",
3
+ "version": "0.0.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -511,7 +511,8 @@ export class MapOverlayManager {
511
511
 
512
512
  function fmarkers_clear() {
513
513
  fmarkers.forEach(function (fm) {
514
- fm.setMap(null);
514
+ fm.setMap(null); //for Marker
515
+ fm.map = null; //for AdvancedMarkerElement
515
516
  fm = null;
516
517
  });
517
518
  fmarkers = [];
@@ -519,7 +520,8 @@ export class MapOverlayManager {
519
520
 
520
521
  _this.fmarkers_clear = function() {
521
522
  fmarkers.forEach(function (fm) {
522
- fm.setMap(null);
523
+ fm.setMap(null); //for Marker
524
+ fm.map = null; //for AdvancedMarkerElement
523
525
  fm = null;
524
526
  });
525
527
  fmarkers = [];