This commit is contained in:
Chumva 2019-06-27 11:48:12 +03:00
parent 3556205c00
commit 411f8d73ff
2 changed files with 4 additions and 0 deletions

View file

@ -28,6 +28,7 @@ public class Amenity extends MapObject {
public static final String WEBSITE = "website";
public static final String PHONE = "phone";
public static final String MOBILE = "mobile";
public static final String DESCRIPTION = "description";
public static final String ROUTE = "route";
public static final String OPENING_HOURS = "opening_hours";

View file

@ -459,6 +459,9 @@ public class AmenityMenuBuilder extends MenuBuilder {
} else if (Amenity.PHONE.equals(key)) {
iconId = R.drawable.ic_action_call_dark;
isPhoneNumber = true;
} else if (Amenity.MOBILE.equals(key)) {
iconId = R.drawable.ic_action_phone;
isPhoneNumber = true;
} else if (Amenity.WEBSITE.equals(key)) {
iconId = R.drawable.ic_world_globe_dark;
isUrl = true;