Back to project page hellomap3d-android.
The source code is released under:
MIT License
If you think the Android project hellomap3d-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nutiteq.advancedmap3; /*ww w. java2s .c om*/ import android.os.Bundle; import com.nutiteq.datasources.HTTPTileDataSource; import com.nutiteq.datasources.TileDataSource; import com.nutiteq.layers.RasterTileLayer; public class AerialMapActivity extends MapSampleBaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Initialize a Bing raster data source. Note: tiles start from level 1, there is no single root tile! TileDataSource baseRasterTileDataSource = new HTTPTileDataSource(1, 19, "http://ecn.t3.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=471&mkt=en-US"); // Create raster layer baseLayer = new RasterTileLayer(baseRasterTileDataSource); mapView.getLayers().add(baseLayer); } }