Future optimization for the subway icon
This commit is contained in:
parent
1b43a910f3
commit
79e2f1ddee
1 changed files with 5 additions and 1 deletions
|
@ -193,7 +193,11 @@ public class AmenityMenuController extends MenuController {
|
|||
Map<String, String> addTypes = amenity.getAdditionalInfo();
|
||||
if (addTypes != null) {
|
||||
String region = addTypes.get("subway_region");
|
||||
region = region == null ? "" : "subway_" + region;
|
||||
if (region == null) {
|
||||
return null;
|
||||
} else {
|
||||
region = "subway_" + region;
|
||||
}
|
||||
if (RenderingIcons.containsBigIcon(region)) {
|
||||
return RenderingIcons.getBigIcon(getMapActivity(), region);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue