mapcomplete/assets/layers/charging_station
2021-09-30 18:50:08 +02:00
..
CEE7_4F.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Chademo_type4.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
charging_station.json Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00
charging_station.protojson Fix bbox bug, add ids to filters, add filter state to the URL 2021-09-27 18:35:32 +02:00
csvToJson.ts Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00
license_info.json Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00
README.md Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00
Tesla-hpwc-model-s.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type1-ccs.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type1_J1772.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type2_CCS.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type2_socket.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type2_tethered.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
Type3c.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
TypeE.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
types.csv Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00
under_construction.svg Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
usb_port.svg Add USB as socket to charging stations, some styling tweaks 2021-09-30 18:50:08 +02:00

The charging station theme

As you might have noticed, the charging station theme is complicated and large.

There are a ton of repititive questions. Luckily, we can generate those.

If you want to add a missing socket type, then:

  • Add all the properties in 'types.csv'
  • Add an icon. (Note: icons are way better as pictures as they are perceived more abstractly)
  • Update license_info.json with the copyright info of the new icon. Note that we strive to have Creative-commons icons only (though there are exceptions)

AT this point, most of the work should be done; feel free to send a PR. If you would like to test it locally first (which is recommended) and have a working dev environment, then run:

  • Run 'ts-node csvToJson.ts' which will generate a new charging_station.json based on the protojson
  • Runnpm run query:licenses to get an interactive program to add the license of your artwork, followed by npm run generate:licenses
  • Run npm run generate:layeroverview to generate the layer files
  • Run npm run start to run the instance