[android] add support for editing charging stations details

While here, uncluttered a little the charging station editor,
removing fields like the POI address which is basically irrelevant for
charging stations.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
This commit is contained in:
Séverin Lemaignan
2025-09-29 17:53:11 +02:00
committed by x7z4w
parent 509ff4de72
commit d168855ef5
19 changed files with 899 additions and 197 deletions

View File

@@ -160,7 +160,26 @@
<field name="drive_through">
<tag k="drive_through" />
</field>
<!-- charging station socket information -->
<field name="socket_type1_count">
<tag k="socket:type1" />
</field>
<field name="socket_type1_output">
<tag k="socket:type1:output" />
</field>
<field name="socket_type2_count">
<tag k="socket:type2" />
</field>
<field name="socket_type2_output">
<tag k="socket:type2:output" />
</field>
<!-- Field groups. -->
<field_group name="charge_sockets">
<field_ref name="socket_type1_count" />
<field_ref name="socket_type1_output" />
<field_ref name="socket_type2_count" />
<field_ref name="socket_type2_output" />
</field_group>
<field_group name="address">
<field_ref name="street" />
<field_ref name="housenumber" />
@@ -463,7 +482,9 @@
<include group="poi_internet" />
</type>
<type id="amenity-charging_station">
<include group="poi" />
<include field="name" />
<include group="charge_sockets" />
<include field="opening_hours" />
<include field="operator" />
</type>
<type id="building-guardhouse">