This commit is contained in:
Hannes Janetzek 2013-01-05 18:05:13 +01:00
parent bf7d5569e9
commit def840b482
2 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012 Hannes Janetzek * Copyright 2012, 2013 OpenScienceMap
* *
* This program is free software: you can redistribute it and/or modify it under the * This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software * terms of the GNU Lesser General Public License as published by the Free Software
@ -17,15 +17,11 @@ package org.oscim.overlay;
import org.oscim.renderer.overlays.TextOverlay; import org.oscim.renderer.overlays.TextOverlay;
import org.oscim.view.MapView; import org.oscim.view.MapView;
/**
* @author Hannes Janetzek
*/
public class LabelingOverlay extends Overlay { public class LabelingOverlay extends Overlay {
// private TextOverlay mLayer;
// @Override
// public org.oscim.renderer.overlays.RenderOverlay getLayer() {
// return mLayer;
// }
public LabelingOverlay(MapView mapView) { public LabelingOverlay(MapView mapView) {
super(); super();
mLayer = new TextOverlay(mapView); mLayer = new TextOverlay(mapView);

View File

@ -49,7 +49,6 @@ public class BaseLayer {
Matrix.multiplyMM(mVPMatrix, 0, mfProjMatrix, 0, pos.viewMatrix, 0); Matrix.multiplyMM(mVPMatrix, 0, mfProjMatrix, 0, pos.viewMatrix, 0);
/* draw base layer */
GLES20.glEnable(GL_POLYGON_OFFSET_FILL); GLES20.glEnable(GL_POLYGON_OFFSET_FILL);
for (int i = 0; i < tileCnt; i++) { for (int i = 0; i < tileCnt; i++) {