Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
VectorTileLoader: dont add faded out polygon layers
Browse files Browse the repository at this point in the history
  • Loading branch information
hjanetzek committed Sep 19, 2014
1 parent 138ff4c commit 2c5db19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vtm/src/org/oscim/layers/tile/vector/VectorTileLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ public void renderWay(LineStyle line, int level) {

@Override
public void renderArea(AreaStyle area, int level) {
/* dont add faded out polygon layers */
if (area.fadeScale > 0 && mTile.zoomLevel < area.fadeScale + 1)
return;

int nLevel = mCurBucket + level;

if (USE_MESH_POLY) {
Expand Down

0 comments on commit 2c5db19

Please sign in to comment.