@watergis/maplibre-gl-terradraw 1.3.12 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4508,8 +4508,11 @@ class jo extends Fo {
|
|
|
4508
4508
|
* @param options Plugin control options
|
|
4509
4509
|
*/
|
|
4510
4510
|
constructor(e) {
|
|
4511
|
-
let i =
|
|
4512
|
-
|
|
4511
|
+
let i = {
|
|
4512
|
+
...JSON.parse(JSON.stringify(st)),
|
|
4513
|
+
modeOptions: { ...st.modeOptions }
|
|
4514
|
+
};
|
|
4515
|
+
e && (i = Object.assign(i, e));
|
|
4513
4516
|
super({
|
|
4514
4517
|
modes: i.modes,
|
|
4515
4518
|
open: i.open,
|