diff --git a/OsmAnd/res/drawable-hdpi/warnings_pedestrian.png b/OsmAnd/res/drawable-hdpi/warnings_pedestrian.png new file mode 100644 index 0000000000..6e5ab33167 Binary files /dev/null and b/OsmAnd/res/drawable-hdpi/warnings_pedestrian.png differ diff --git a/OsmAnd/res/drawable-hdpi/warnings_railways.png b/OsmAnd/res/drawable-hdpi/warnings_railways.png new file mode 100644 index 0000000000..6e5ab33167 Binary files /dev/null and b/OsmAnd/res/drawable-hdpi/warnings_railways.png differ diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 0f34a9a0dc..2b4ab9db13 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -743,6 +743,10 @@ public class RouteInfoWidgetsFactory { locimgId = R.drawable.warnings_stop; text = ""; //text = "STOP"; + } else if(alarm.getType() == AlarmInfoType.RAILWAY) { + locimgId = R.drawable.warnings_railways; + } else if(alarm.getType() == AlarmInfoType.PEDESTRIAN) { + locimgId = R.drawable.warnings_pedestrian; } visible = (text != null && text.length() > 0) || locimgId != 0; if (visible) {