OeffiMapView: Remove station glow.

This commit is contained in:
Andreas Schildbach 2021-01-29 19:08:27 +01:00
parent 949af8b122
commit 50586401a3
2 changed files with 1 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -89,7 +89,6 @@ public class OeffiMapView extends MapView {
final Drawable deviceLocationIcon = drawableCenter(R.drawable.location_on, 2); final Drawable deviceLocationIcon = drawableCenter(R.drawable.location_on, 2);
final Drawable referenceLocationIcon = drawablePointer(R.drawable.da_marker_red, 2); final Drawable referenceLocationIcon = drawablePointer(R.drawable.da_marker_red, 2);
final Drawable glowIcon = drawableCenter(R.drawable.station_glow, 2);
final Drawable stationDefaultIcon = drawableCenter(R.drawable.ic_maps_product_default, 2); final Drawable stationDefaultIcon = drawableCenter(R.drawable.ic_maps_product_default, 2);
final Drawable stationHighspeedIcon = drawableCenter(R.drawable.product_highspeed_color_22dp, 2); final Drawable stationHighspeedIcon = drawableCenter(R.drawable.product_highspeed_color_22dp, 2);
final Drawable stationTrainIcon = drawableCenter(R.drawable.product_train_color_22dp, 2); final Drawable stationTrainIcon = drawableCenter(R.drawable.product_train_color_22dp, 2);
@ -318,10 +317,8 @@ public class OeffiMapView extends MapView {
projection.toPixels(new GeoPoint(station.location.getLatAsDouble(), projection.toPixels(new GeoPoint(station.location.getLatAsDouble(),
station.location.getLonAsDouble()), point); station.location.getLonAsDouble()), point);
if (stationsAware.isSelectedStation(station.location.id)) { if (stationsAware.isSelectedStation(station.location.id))
drawAt(canvas, glowIcon, point.x, point.y, false, 0);
selectedStation = station; selectedStation = station;
}
final Product product = station.getRelevantProduct(); final Product product = station.getRelevantProduct();
if (product == null) if (product == null)