updateView() { // Set the map view around the points including the location of the car //let wp = this.state.waypoints; //if (wp.length > 0) this.map.fitBounds(wp); // Set the map view around the current fix this.map.panTo([this.state.lat, this.state.lng]) }