1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00
This commit is contained in:
Paulus Schoutsen
2017-01-20 23:00:59 -08:00
parent cc768b290a
commit 4f8fc26919
+1 -1
View File
@@ -109,7 +109,7 @@ Polymer({
if (this._mapItems.length === 0) {
bounds = new window.L.latLngBounds(
[window.L.latLng(this.locationGPS.latitude, this.locationGPS.longitude)])
[window.L.latLng(this.locationGPS.latitude, this.locationGPS.longitude)]);
} else {
bounds = new window.L.latLngBounds(
this._mapItems.map(function (item) { return item.getLatLng(); }));