Mapsforge themes: use tessellation, fix #415

This commit is contained in:
Emux
2017-09-27 13:58:47 +03:00
parent 7ba5984e5f
commit 67195bbc0c
3 changed files with 38 additions and 5 deletions

View File

@@ -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;

View File

@@ -76,7 +76,7 @@ public class AreaStyle extends RenderStyle<AreaStyle> {
/**
* Tessellation
*/
public final boolean mesh;
public boolean mesh;
public final float heightOffset;