Skip to content

Commit eb8f2e8

Browse files
committed
overlay positioning bug fix
1 parent c5b1cf0 commit eb8f2e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-openlayers",
3-
"version": "0.1.59",
3+
"version": "0.1.60",
44
"description": "Openlayers Wrapper for Vue3",
55
"repository": {
66
"type": "git",

Diff for: src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
</ol-animated-clusterlayer>
130130

131-
<ol-overlay :position="selectedCityPosition" v-if="selectedCityName !='' && !drawEnable">
131+
<ol-overlay :position="selectedCityPosition" v-if="selectedCityName !='' && !drawEnable" positioning="bottom-right">
132132
<template v-slot="slotProps">
133133
<div class="overlay-content">
134134
{{selectedCityName}} {{slotProps}}

Diff for: src/components/map/Overlay.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
type: Array
2727
},
2828
positioning: {
29-
type: Array
29+
type: String
3030
},
3131
stopEvent: {
3232
type: Boolean,

0 commit comments

Comments
 (0)