diff --git a/panels/map/ha-panel-map.html b/panels/map/ha-panel-map.html index caa85b769d..654d812ad0 100644 --- a/panels/map/ha-panel-map.html +++ b/panels/map/ha-panel-map.html @@ -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(); }));