leaflet-editable-textbox
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "leaflet-editable-textbox", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "TextBox for Leaflet.Editable", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -86,4 +86,4 @@ L.TextBox = L.Rectangle.extend({ | ||
_renderText: function() { | ||
if (this._renderer) { | ||
if (0 < this._text.length) { | ||
if (this._renderer && true === this._map.hasLayer(this)) { | ||
if (0 < this.getText().length) { | ||
var options = this.options; | ||
@@ -90,0 +90,0 @@ var rendered = new L.SVG.TextToSvg(this.getText(), { |
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
2746887