Skip to content

Commit

Permalink
avoid offset type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jokroese committed Jul 19, 2024
1 parent 76ede87 commit ac9cc09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@
const description = text;
if (coordinates.length === 2) {
new Popup({
offset: {
bottom: [0, -markerHeight]
},
offset: [0, -markerHeight],
anchor: 'bottom',
maxWidth: 'none'
})
Expand Down

0 comments on commit ac9cc09

Please sign in to comment.