fix: add text wrap in POI list, increase search radius and exclude street_side parking
This commit is contained in:
@ -130,7 +130,7 @@
|
||||
style="flex: 1;"
|
||||
onclick={() => {
|
||||
view.switch("nearby-poi", {
|
||||
tags: "amenity=parking",
|
||||
tags: "amenity=parking,parking!=street_side",
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
return;
|
||||
}
|
||||
view.loading = true;
|
||||
fetchNearbyPOI(location.lat, location.lng, tags.split(","), 500).then(
|
||||
fetchNearbyPOI(location.lat, location.lng, tags.split(","), 5000).then(
|
||||
(results) => {
|
||||
pois = results.elements.sort((a, b) => {
|
||||
const distA = distanceTo(
|
||||
@ -89,7 +89,7 @@
|
||||
});
|
||||
}}
|
||||
>
|
||||
<div class="font-bold">
|
||||
<div class="font-bold text-wrap">
|
||||
{poi.tags.name ?? poi.tags.brand ?? m.unnamed()}
|
||||
</div>
|
||||
<div class="text-sm">
|
||||
|
||||
Reference in New Issue
Block a user