AkrosAG / Akros-Marketplace

Apache License 2.0
3 stars 5 forks source link

Range of "+km" #144

Open fingeririna opened 2 years ago

fingeririna commented 2 years ago

Story: As a user I want to give max distance from the searching location. It can be 1 km, 2 km, 5 km, 10 km, 20 km or 50 km.

Acceptance criteria

Task:

akrguda commented 1 year ago

this tickets goes to stat "parkplatz" because has no priority and as the stakeholder told, they want to see more technical work and not common work at the application.

we have to refine this ticket when we will work on it. The questions about "how to handle the range / ratio" search must be discused at analysed by a BA.

aschiakros commented 1 year ago

https://leafletjs.com/reference.html#map-distance

Leafletjs provides a method to calculate the distance between two LatLng which we can use to determine if a marker is in range. If we decide to not just hide "out of range" markers we could also draw a circle with https://leafletjs.com/reference.html#circle and the user could decide if the points are of interest.