diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-03 09:08:31 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-03 09:08:31 -0700 |
commit | aed55c77c58d74879dd9acedbab8965233d47aa3 (patch) | |
tree | 8eab4b729100aab5e5f13d7a35a2d2288feb477a /modern/src/map/MapPositions.js | |
parent | 7d521e8411dbeb9ca6bbeb98453145b44c7e5913 (diff) | |
download | trackermap-web-aed55c77c58d74879dd9acedbab8965233d47aa3.tar.gz trackermap-web-aed55c77c58d74879dd9acedbab8965233d47aa3.tar.bz2 trackermap-web-aed55c77c58d74879dd9acedbab8965233d47aa3.zip |
Selected device direction (fix #924)
Diffstat (limited to 'modern/src/map/MapPositions.js')
-rw-r--r-- | modern/src/map/MapPositions.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modern/src/map/MapPositions.js b/modern/src/map/MapPositions.js index 4b53255a..070ec0c8 100644 --- a/modern/src/map/MapPositions.js +++ b/modern/src/map/MapPositions.js @@ -101,8 +101,6 @@ const MapPositions = ({ positions, onClick, showStatus }) => { map.on('click', clusters, onClusterClick); return () => { - Array.from(map.getContainer().getElementsByClassName('maplibregl-popup')).forEach((el) => el.remove()); - map.off('mouseenter', id, onMouseEnter); map.off('mouseleave', id, onMouseLeave); map.off('mouseenter', clusters, onMouseEnter); |