Fix issue with white blank tiles at edge of JPG rendered maps
This commit is contained in:
parent
b872aa039e
commit
cd067adfdc
2 changed files with 19 additions and 7 deletions
|
|
@ -122,6 +122,10 @@ public class HDMap extends MapType {
|
|||
if(c != null) {
|
||||
bgcolornight = parseColor(c);
|
||||
}
|
||||
if(imgformat != ImageFormat.FORMAT_PNG) { /* If JPG, set background color opacity */
|
||||
bgcolorday |= 0xFF000000;
|
||||
bgcolornight |= 0xFF000000;
|
||||
}
|
||||
}
|
||||
|
||||
public HDShader getShader() { return shader; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue