bahnzumberg / zuugle-suchseite

Public repository for www.zuugle.at
https://www.zuugle.at
GNU General Public License v3.0
6 stars 11 forks source link

Uncaught error: Map container is already initialized #454

Closed martinheppner closed 1 week ago

martinheppner commented 2 weeks ago

Mobile version, Samsung handy

Link: https://www.zuugle.it/search?city=trento&map=true&filter=%7B%22coordinatesSouthWest%22%3A%7B%22lat%22%3A45.836454050187726%2C%22lng%22%3A5.350341796875001%7D%2C%22coordinatesNorthEast%22%3A%7B%22lat%22%3A49.489538473066496%2C%22lng%22%3A21.368408203125004%7D%2C%22search%22%3Anull%7D

Image

martinheppner commented 2 weeks ago

I just encountered this error myself by calling https://dev.zuugle.at/search?city=wien&map=true&filter=%7B%22coordinatesSouthWest%22%3A%7B%22lat%22%3A47.12247581664114%2C%22lng%22%3A10.747375488281252%7D%2C%22coordinatesNorthEast%22%3A%7B%22lat%22%3A48.26308411537845%2C%22lng%22%3A15.974121093750002%7D%2C%22search%22%3Anull%7D

Image

Falsal commented 2 weeks ago

@martinheppner : I am working on issue #415 which is also on the map so i stopped to I research this issue #454 : so for a solid solution I will have to add a useEffect to remove map instance when map is being re-rendered, will do it by end of this weekend.