Open Hugo01 opened 2 years ago
Using
this.simpleMapScreenshoter.takeScreen('image', { hideElementsWithSelectors: [] })
"hideElementsWithSelectors" has no effect, the map controls will still be hidden when taking a screenshot But passing on the constructor:
L.simpleMapScreenshoter({ hideElementsWithSelectors: [] })
Works
Using
"hideElementsWithSelectors" has no effect, the map controls will still be hidden when taking a screenshot But passing on the constructor:
Works