Skip to content

Commit 20e4f79

Browse files
committed
fix: add missing import getCenter
1 parent 52f6226 commit 20e4f79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vendors/helpers/Popup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* already exist.
55
*/
66
import Overlay from 'ol/Overlay';
7+
import { getCenter } from 'ol/extent';
78

89
// Adjusted to accept a map instance directly
910
export function showPopup(map, coordinates, message) {

0 commit comments

Comments
 (0)