leafgl
leafgl copied to clipboard
Fix popup=FALSE
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.