This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
212 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package org.oscim.test; | ||
|
||
import org.oscim.gdx.GdxMapApp; | ||
import org.oscim.layers.tile.bitmap.BitmapTileLayer; | ||
import org.oscim.layers.tile.buildings.S3DBLayer; | ||
import org.oscim.tiling.TileSource; | ||
import org.oscim.tiling.source.bitmap.DefaultSources; | ||
import org.oscim.tiling.source.oscimap4.OSciMap4TileSource; | ||
|
||
public class S3DBLayerTest extends GdxMapApp { | ||
|
||
@Override | ||
public void createLayers() { | ||
|
||
//VectorTileLayer l = mMap.setBaseMap(new OSciMap4TileSource()); | ||
//mMap.setTheme(VtmThemes.DEFAULT); | ||
|
||
mMap.setBaseMap(new BitmapTileLayer(mMap, DefaultSources.STAMEN_TONER.build())); | ||
|
||
TileSource ts = OSciMap4TileSource | ||
.builder() | ||
.url("http://opensciencemap.org/tiles/s3db") | ||
.build(); | ||
|
||
S3DBLayer tl = new S3DBLayer(mMap, ts); | ||
mMap.layers().add(tl); | ||
|
||
mMap.setMapPosition(53.08, 8.82, 1 << 17); | ||
|
||
} | ||
|
||
public static void main(String[] args) { | ||
init(); | ||
run(new S3DBLayerTest(), null, 400); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.