leafgl icon indicating copy to clipboard operation
leafgl copied to clipboard

Fix popup=FALSE

Open trafficonese opened this issue 3 years ago • 0 comments

When popup=FALSE it is changed to "{}" and throws a browser error

Cannot read property 'toString' of undefined

The PR should fix that problem.

Setting popup=NA causes an R-error. So maybe it's better to check in R if popup is NA or FALSE and set it NULL? Then the changes on the JS side can be discarded.

trafficonese avatar Aug 28 '20 13:08 trafficonese