Remove poi_type_tag from context menu
This commit is contained in:
parent
f868c183ed
commit
c5cc10e77b
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ public class EditPOIMenuBuilder extends MenuBuilder {
|
|||
OpenstreetmapPoint point = (OpenstreetmapPoint) osmPoint;
|
||||
|
||||
for (Map.Entry<String, String> e : point.getEntity().getTags().entrySet()) {
|
||||
String text = e.getKey() + "=" + e.getValue();
|
||||
String text;
|
||||
if (EditPoiData.POI_TYPE_TAG.equals(e.getKey())) {
|
||||
text = e.getValue();
|
||||
} else {
|
||||
text = e.getKey() + "=" + e.getValue();
|
||||
}
|
||||
buildRow(view, R.drawable.ic_action_info_dark, text, 0, false, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue