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

Bug fix: Popup does not display (using React-Leaflet) #344

Closed Falsal closed 3 months ago

Falsal commented 3 months ago

an event handler attached to a marker prevents display of Popup, the handler makes an api call, data are actually fetched and can be viewed in dev tool console.

Main file : TourMapContainer Use one of the CustomMarker files (there are 2 options) and one PopupContent files to be used in the JSX render of the markers inside the TourMapContainer.

The goal of this issue is, display the popups when marker clicked (first time click) with the api data rendered inside of it, popup shows the Component PopupCard.

Installation:

nvm install 20.5.0 nvm use 20.5.0 npm install Running the application:

npm run start-remote-api http://localhost:3000/suche?city=wien GitHub Branch: https://github.com/bahnzumberg/zuugle-suchseite.git

Falsal commented 3 months ago

completed by our external source, the comment from his side : "..the map is really slow. Kindly consider other mapping libraries or reduce the number of points on the cluster."