Fix tablet poi icon size
This commit is contained in:
parent
aa778cb289
commit
18dd2356e0
1 changed files with 1 additions and 2 deletions
|
@ -176,8 +176,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
|
||||||
@Override
|
@Override
|
||||||
public void initLayer(OsmandMapTileView view) {
|
public void initLayer(OsmandMapTileView view) {
|
||||||
this.view = view;
|
this.view = view;
|
||||||
|
poiSize = (int) app.getResources().getDimension(R.dimen.poi_icon_size);
|
||||||
poiSize = dpToPx(view.getContext(), 16f);
|
|
||||||
poiColorFilter = new PorterDuffColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN);
|
poiColorFilter = new PorterDuffColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN);
|
||||||
paintIconBackground = new Paint();
|
paintIconBackground = new Paint();
|
||||||
poiBackground = BitmapFactory.decodeResource(view.getResources(), R.drawable.map_white_orange_poi_shield);
|
poiBackground = BitmapFactory.decodeResource(view.getResources(), R.drawable.map_white_orange_poi_shield);
|
||||||
|
|
Loading…
Reference in a new issue