react-mapbox-gl
Advanced tools
Comparing version 4.5.0 to 4.5.1
@@ -61,3 +61,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var id = props.id, map = props.map; | ||
if (map) { | ||
if (map && map.getStyle()) { | ||
map.removeImage(id); | ||
@@ -64,0 +64,0 @@ } |
@@ -63,3 +63,3 @@ "use strict"; | ||
var id = props.id, map = props.map; | ||
if (map) { | ||
if (map && map.getStyle()) { | ||
map.removeImage(id); | ||
@@ -66,0 +66,0 @@ } |
{ | ||
"name": "react-mapbox-gl", | ||
"version": "4.5.0", | ||
"version": "4.5.1", | ||
"description": "A React binding of mapbox-gl-js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
480105
9349