We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7595f commit 2e9e2a6Copy full SHA for 2e9e2a6
src/components/map/OlOverlay.vue
@@ -27,7 +27,13 @@ defineOptions({
27
inheritAttrs: false,
28
});
29
30
-const props = defineProps<Options>();
+const props = withDefaults(defineProps<Options>(), {
31
+ positioning: "top-left",
32
+ stopEvent: true,
33
+ insertFirst: true,
34
+ autoPan: false,
35
+ className: "ol-overlay",
36
+});
37
38
const map = inject<Map>("map");
39
0 commit comments