Fix build

This commit is contained in:
sonora 2016-02-12 17:08:38 +01:00
parent 850f56904f
commit a7b7c32fbc

View file

@ -44,13 +44,13 @@ public class RasterMapMenu {
mapTransparencyPreference = settings.MAP_OVERLAY_TRANSPARENCY; mapTransparencyPreference = settings.MAP_OVERLAY_TRANSPARENCY;
mapTypePreference = settings.MAP_OVERLAY; mapTypePreference = settings.MAP_OVERLAY;
mapTypeString = R.string.map_overlay; mapTypeString = R.string.map_overlay;
mapTypeString = R.string.overlay_transparency; mapTypeStringTransparency = R.string.overlay_transparency;
} else if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY){ } else if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY){
rasterMapLayer = plugin.getUnderlayLayer(); rasterMapLayer = plugin.getUnderlayLayer();
mapTransparencyPreference = settings.MAP_TRANSPARENCY; mapTransparencyPreference = settings.MAP_TRANSPARENCY;
mapTypePreference = settings.MAP_UNDERLAY; mapTypePreference = settings.MAP_UNDERLAY;
mapTypeString = R.string.map_underlay; mapTypeString = R.string.map_underlay;
mapTypeString = R.string.map_transparency; mapTypeStringTransparency = R.string.map_transparency;
} else { } else {
throw new RuntimeException("Unexpected raster map type"); throw new RuntimeException("Unexpected raster map type");
} }