mapping-component-package-jp 0.1.13 → 0.1.14
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
|
@@ -662,7 +662,7 @@ export class MapOverlayManager {
|
|
|
662
662
|
if (location.Id == locationId) {
|
|
663
663
|
|
|
664
664
|
var pArea = google.maps.geometry.spherical.computeSignedArea(path);
|
|
665
|
-
var isHole = pArea > 0 &&
|
|
665
|
+
var isHole = pArea > 0 && lpi !== 0;
|
|
666
666
|
cpid = Date.now() + Math.floor(Math.random() * 100000);
|
|
667
667
|
|
|
668
668
|
var polygon = new google.maps.Polygon({
|
|
@@ -733,7 +733,7 @@ export class MapOverlayManager {
|
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
|
|
736
|
-
map.fitBounds(
|
|
736
|
+
map.fitBounds(mbounds);
|
|
737
737
|
fields_BindPolyEvents();
|
|
738
738
|
//console.log(polygons);
|
|
739
739
|
}
|