Fridish/Charging-Stations

Working Searchbar

オープン

#6 opened on 2024/09/03

 (5 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (3 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (PR metrics pending)

説明

The search bar is currently just a input-field without any actions. the user should be able to search for a location, and if the location exists, the map should focus on that location. Perhaps also display some information about the charge station, such as webpage, cost etc. This is the information for a typical charging station:

"features": [
        {
            "type": "Feature",
            "properties": {
                "Placering": "Mode mobilitetshus",
                "TYP": "LADDPLATS",
                "Antal": 30,
                "Kommentar": "6 st semi-snabbladdare och 24 st normalladdare",
                "URL": "https://skovde.se/trafik-infrastruktur/parkering/laddplats/",
                "Avgift": "1:a tim 10 kr, 2:a tim 20 kr, 2,5 kr/kWh",
                "Avgift_tid": "8-18, (10-16)"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    13.853353648690286,
                    58.391676699754463
                ]
            }
        },

Translation from swedish to english:

Placering = placement (where it is placed) Typ = Type (what type of station it is) Antal = number of chargers. Kommentar = comment (in this case, '6 fast chargers, 24 normal chargers'). Avgift = Fee. (in this case, first hour 10sek, 2nd hour 20sek, 2,5 sek/kWh). Avgift_tid = Fee_Time

コントリビューターガイド