Commit bba32388 authored by alain's avatar alain 🐙
Browse files

sort search pois / fix tooltip text case

parent ea5d8053
......@@ -6,7 +6,7 @@ class MapAttributions extends React.Component {
<div className="mapboxgl-ctrl-bottom-right">
<div className="mapboxgl-ctrl mapboxgl-ctrl-attrib">
<div className="mapboxgl-ctrl-attrib-inner">
<span><a href="https://gitlab.waag.org/code/data-on-a-map-app/" target="_blank" rel="noopener noreferrer">v. 05/03/2020</a></span>
<span><a href="https://gitlab.waag.org/code/data-on-a-map-app/" target="_blank" rel="noopener noreferrer">v. 09/03/2020</a></span>
<span><a href="https://waag.org" target="_blank" rel="noopener noreferrer">waag</a></span>
<span>© <a href="http://www.openstreetmap.org/about/" target="_blank" rel="noopener noreferrer">OpenStreetMap</a></span>
</div>
......
......@@ -38,7 +38,7 @@ class MapSearch extends React.Component {
})
})
const pois = Object.keys(uniquePois).map(poi => {
const pois = Object.keys(uniquePois).sort().map(poi => {
return {
name: poi,
coordinates: uniquePois[poi]
......
......@@ -14,6 +14,7 @@
font-size: 0.9rem;
line-height: 1.5em;
text-align: left;
text-transform: none;
&:before {
content: "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment