diff options
Diffstat (limited to 'modern/src/map/MainMap.js')
-rw-r--r-- | modern/src/map/MainMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/MainMap.js b/modern/src/map/MainMap.js index 7332d93e..c93c26dd 100644 --- a/modern/src/map/MainMap.js +++ b/modern/src/map/MainMap.js @@ -57,7 +57,7 @@ const MainMap = () => { }, [containerEl]); useEffect(() => { - mapManager.registerListener(() => setMapReady(true)); + mapManager.onMapReady(() => setMapReady(true)); }, []); const markerClickHandler = (event) => { |