Mapsforge themes: use tessellation, fix #415
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2012-2014 Hannes Janetzek
|
||||
* Copyright 2016 devemux86
|
||||
* Copyright 2016-2017 devemux86
|
||||
*
|
||||
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
||||
*
|
||||
@@ -308,6 +308,8 @@ public class VectorTileLoader extends TileLoader implements RenderStyle.Callback
|
||||
|
||||
int nLevel = mCurBucket + level;
|
||||
|
||||
mTileLayer.callThemeHooks(mTile, mBuckets, mElement, area, nLevel);
|
||||
|
||||
if (USE_MESH_POLY || area.mesh) {
|
||||
MeshBucket mb = mBuckets.getMeshBucket(nLevel);
|
||||
mb.area = area;
|
||||
|
||||
@@ -76,7 +76,7 @@ public class AreaStyle extends RenderStyle<AreaStyle> {
|
||||
/**
|
||||
* Tessellation
|
||||
*/
|
||||
public final boolean mesh;
|
||||
public boolean mesh;
|
||||
|
||||
public final float heightOffset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user