Add a new placeholder option and deprecate undefinedHTML

This commit is contained in:
Tim Schaub
2021-07-09 15:52:17 -06:00
parent 8585b067dc
commit 53156ab936
4 changed files with 118 additions and 37 deletions
-1
View File
@@ -13,7 +13,6 @@ const mousePositionControl = new MousePosition({
// be placed within the map.
className: 'custom-mouse-position',
target: document.getElementById('mouse-position'),
undefinedHTML: ' ',
});
const map = new Map({