initial search bar feature added on new branch

This commit is contained in:
Sol
2020-08-04 19:01:15 +01:00
committed by Sol Abrahams
parent 6a3b83fb3b
commit 9d846c5c4c
7 changed files with 235 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ class Map extends React.Component {
firstLayer.addTo(map)
map.keyboard.disable()
map.zoomControl.remove()
map.on('move zoomend viewreset moveend', () => this.alignLayers())
map.on('zoomstart', () => { if (this.svgRef.current !== null) this.svgRef.current.classList.add('hide') })