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
|
@@ -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
|
-
|
|
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
|
});
|