diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 12:49:47 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 12:49:47 -0700 |
commit | 50505e02d2464a5f353aa805c9622c6d4f940ebc (patch) | |
tree | 3c690a14c129f28308af126c2a612dfe06875a27 /modern/src/map/MainMap.js | |
parent | 26021f5220d9fd3b7306ecc09e1e86a3858a6e5a (diff) | |
download | trackermap-web-50505e02d2464a5f353aa805c9622c6d4f940ebc.tar.gz trackermap-web-50505e02d2464a5f353aa805c9622c6d4f940ebc.tar.bz2 trackermap-web-50505e02d2464a5f353aa805c9622c6d4f940ebc.zip |
Simplify map code
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) => { |