noi-techpark / it.bz.noi.community

NOI Community App for the Web
GNU General Public License v3.0
0 stars 1 forks source link

Mixed online/offline events should still be able to find their real location, or "show on map" should be hidden #26

Open Piiit opened 2 years ago

Piiit commented 2 years ago

What to do?

What happens? The map view opens, but shows only the full NOI techpark. Does not zoom into the map to show the real location.

Expected I would expect that it opens the map with a pin on NOISE, but the place cannot be found, because it searches for "NOISE | Youtube" which is obviously not present.

We need a solution to have both:

I would in general hide the "show on map" button, when the API does not find any mapping between the location label and the API mapping keys.

Screenshot_2022-07-05-15-01-35-734_it.bz.noi.community.jpg

Piiit commented 2 years ago

@MarE1991 @RudiThoeni FYI

pkritzinger commented 2 years ago

@Piiit just to understand the whole logic behind: how is a location on the map searched? As you mentioned, it probably makes sense to optimize this by splitting Online and Offline into two cells.