mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user