package/naming reorganization:
- RenderLayer -> LayerRenderer as this LayerRenderer just the rendering implementation of a Layer - not a 'layer' itself - move renderer.sublayer.*Renderer into their respective *Layer classes - move layers.labeling to layers.tile.vector.labeling (until there is a common labeling framework) - remove layers.overlay - move Marker stuff to layers.marker - merge TileRenderer into TileRenderLayer - rename renderer.sublayers to renderer.elements - move layers.tile.* to tiling package - move tilesource.* to tiling.source - rename oscim.view -> oscim.map
This commit is contained in:
@@ -9,10 +9,10 @@ import org.oscim.core.MercatorProjection;
|
||||
import org.oscim.gdx.GdxMap;
|
||||
import org.oscim.layers.tile.bitmap.BitmapTileLayer;
|
||||
import org.oscim.layers.tile.bitmap.NaturalEarth;
|
||||
import org.oscim.renderer.GLRenderer;
|
||||
import org.oscim.tilesource.TileSource;
|
||||
import org.oscim.tilesource.oscimap2.OSciMap2TileSource;
|
||||
import org.oscim.tilesource.oscimap4.OSciMap4TileSource;
|
||||
import org.oscim.renderer.MapRenderer;
|
||||
import org.oscim.tiling.source.TileSource;
|
||||
import org.oscim.tiling.source.oscimap2.OSciMap2TileSource;
|
||||
import org.oscim.tiling.source.oscimap4.OSciMap4TileSource;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.backends.gwt.GwtApplication;
|
||||
@@ -39,7 +39,7 @@ class GwtGdxMap extends GdxMap {
|
||||
CanvasAdapter.textScale = 0.7f;
|
||||
GLAdapter.g = (GL20) Gdx.graphics.getGL20();
|
||||
GLAdapter.GDX_WEBGL_QUIRKS = true;
|
||||
GLRenderer.setBackgroundColor(0xffffff);
|
||||
MapRenderer.setBackgroundColor(0xffffff);
|
||||
//Gdx.app.setLogLevel(Application.LOG_DEBUG);
|
||||
|
||||
super.create();
|
||||
|
||||
@@ -7,8 +7,8 @@ import org.oscim.backend.Log;
|
||||
import org.oscim.core.BoundingBox;
|
||||
import org.oscim.core.GeometryBuffer;
|
||||
import org.oscim.core.MapPosition;
|
||||
import org.oscim.layers.overlay.PathOverlay;
|
||||
import org.oscim.view.Map;
|
||||
import org.oscim.layers.PathLayer;
|
||||
import org.oscim.map.Map;
|
||||
|
||||
import com.google.gwt.cell.client.AbstractCell;
|
||||
import com.google.gwt.core.client.JavaScriptObject;
|
||||
@@ -185,7 +185,7 @@ public class SearchBox {
|
||||
final Button searchButton = new Button("Search");
|
||||
final TextBox searchField = new TextBox();
|
||||
//searchField.setText("Bremen");
|
||||
final PathOverlay mOverlay = new PathOverlay(map, 0xCC0000FF);
|
||||
final PathLayer mOverlay = new PathLayer(map, 0xCC0000FF);
|
||||
map.getLayers().add(mOverlay);
|
||||
|
||||
// We can add style names to widgets
|
||||
|
||||
Reference in New Issue
Block a user