mapbox-gl-controls
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -231,2 +231,3 @@ function _classCallCheck(instance, Constructor) { | ||
value: function updatePosition() { | ||
if (!this.lngLat) return; | ||
var canvasRect = this.canvas.getBoundingClientRect(); | ||
@@ -233,0 +234,0 @@ var pos = this.map.project(this.lngLat); |
{ | ||
"name": "mapbox-gl-controls", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Controls for mapbox-gl", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -174,2 +174,3 @@ import iconInspect from './icon-inspect.svg'; | ||
updatePosition() { | ||
if (!this.lngLat) return; | ||
const canvasRect = this.canvas.getBoundingClientRect(); | ||
@@ -176,0 +177,0 @@ const pos = this.map.project(this.lngLat); |
73763
1853