Closed jancborchardt closed 8 years ago
Absolutely! I don't know how we could unify those informations. I'll look into it soon, hopefully ;)
In the first case (2nd screenshot) it’s the name
property, and in the other two examples it’s the first element. So that could always be the h2
, and the rest in the following p
. That would already be a massive improvement.
I'll have a look at it after the weekend, but we should wait with commits, because I changed some stuff in the other PRs, which would only lead to massive merge conflicts.
Yup, sure.
Here's a list of different types we have:
There’s a bunch of different ways we currently display info in the popup. And we should make it so it all has a consistent look.
The favorite popup is the best example at the moment. Nice h2 header with the most important thing in it. Not much other info though – partly by design (like not having the coordinates etc) but partly it would be cool to have details like address and opening hours.![capture du 2015-12-31 11-31-51](https://cloud.githubusercontent.com/assets/925062/12132203/e4579ba0-b419-11e5-9bdf-7f4d35152848.png)
The opposite here in the POI popup, basically a raw database dump. This is the same store as above, but that’s completely lost in the sea of other info.
A nice display of this data would be:
Here for when you click on the map:
Same exercise:
Extra boroughs and especially the country can just be left out. We mainly need to cut out useless info and reorder the rest.
And yet another format where the commas were already replaced by line breaks:![capture du 2015-12-31 11-30-41](https://cloud.githubusercontent.com/assets/925062/12132205/e4594bc6-b419-11e5-8430-78993e73499d.png)