mapping-component-package-jp 0.0.53 → 0.0.54

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.53",
3
+ "version": "0.0.54",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3648,8 +3648,8 @@ export class MapOverlayManager {
3648
3648
  polygon = new google.maps.Polygon({
3649
3649
  map: map,
3650
3650
  paths: paths,
3651
- fillColor: 'transparent'
3652
-
3651
+ fillColor: 'transparent',
3652
+ id: location.Id
3653
3653
  });
3654
3654
 
3655
3655
  var boundsChangedListener = google.maps.event.addListenerOnce(map, 'bounds_changed', function () {
@@ -3700,7 +3700,7 @@ export class MapOverlayManager {
3700
3700
  if(clickEnabled) {
3701
3701
  var polygonClickListener = google.maps.event.addListener(polygon, "click", function(event) {
3702
3702
  eventHandlers["PolygonOnClick"]({
3703
- id: this.id,
3703
+ id: polygon.id,
3704
3704
  lat: event.latLng.lat(),
3705
3705
  lng: event.latLng.lng()
3706
3706
  });