react-map-gl
Advanced tools
Comparing version 5.1.1 to 5.1.2
# CHANGELOG | ||
# Version 5.1 | ||
## 5.1.2 (Nov 8, 2019) | ||
- Fix geolocate control crash (#934) | ||
@@ -5,0 +7,0 @@ ## 5.1.1 (Oct 31, 2019) |
@@ -111,2 +111,3 @@ "use strict"; | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_onClickGeolocate", function () { | ||
_this._mapboxGeolocateControl._map = _this._context.map; | ||
return _this._mapboxGeolocateControl.trigger(); | ||
@@ -113,0 +114,0 @@ }); |
@@ -71,2 +71,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
_defineProperty(this, "_onClickGeolocate", () => { | ||
this._mapboxGeolocateControl._map = this._context.map; | ||
return this._mapboxGeolocateControl.trigger(); | ||
@@ -73,0 +74,0 @@ }); |
@@ -90,2 +90,3 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
_defineProperty(_assertThisInitialized(_this), "_onClickGeolocate", function () { | ||
_this._mapboxGeolocateControl._map = _this._context.map; | ||
return _this._mapboxGeolocateControl.trigger(); | ||
@@ -92,0 +93,0 @@ }); |
{ | ||
"name": "react-map-gl", | ||
"description": "A React wrapper for MapboxGL-js and overlay API.", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "mapbox", |
@@ -159,2 +159,3 @@ // @flow | ||
_onClickGeolocate = () => { | ||
this._mapboxGeolocateControl._map = this._context.map; | ||
return this._mapboxGeolocateControl.trigger(); | ||
@@ -161,0 +162,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16233
1449839
265