mapping-component-package-jp 0.0.46 → 0.0.47

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.46",
3
+ "version": "0.0.47",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2934,7 +2934,9 @@ export class MapOverlayManager {
2934
2934
  var path = [];
2935
2935
  sp.forEach(function(c) {
2936
2936
  path.push(new google.maps.LatLng(parseFloat(c[0]),parseFloat(c[1])));
2937
- bounds.extend(new google.maps.LatLng(parseFloat(c[0]),parseFloat(c[1])));
2937
+ if(fitBounds) {
2938
+ bounds.extend(new google.maps.LatLng(parseFloat(c[0]),parseFloat(c[1])));
2939
+ }
2938
2940
  });
2939
2941
  paths.push(path);
2940
2942
  });