Use const in more places

This commit is contained in:
Maximilian Krög
2022-08-09 00:04:31 +02:00
parent bebf2db5ae
commit 5b8d810f80
18 changed files with 108 additions and 110 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ import {removeNode} from '../dom.js';
* This is the base class for controls. You can use it for simple custom
* controls by creating the element with listeners, creating an instance:
* ```js
* var myControl = new Control({element: myElement});
* const myControl = new Control({element: myElement});
* ```
* and then adding this to the map.
*