()
| 1056 | this.lon = location.lng; |
| 1057 | } |
| 1058 | _updateMapCenter() { |
| 1059 | // remember to tell Leaflet event handler that 'this' in here refers to |
| 1060 | // something other than the map in this case the custom polymer element |
| 1061 | this.lat = this._map.getCenter().lat; |
| 1062 | this.lon = this._map.getCenter().lng; |
| 1063 | this.zoom = this._map.getZoom(); |
| 1064 | } |
| 1065 | _resetHistory() { |
| 1066 | this._history = []; |
| 1067 | this._historyIndex = -1; |