|
POST
|
as follows: mSceneView.setAtmosphereEffect( AtmosphereEffect.REALISTIC ); When the map is initialized like this, only the labels are displayed. ArcGISScene arcGISScene = new ArcGISScene();
//Elevation
ArcGISTiledElevationSource elevationSource = new ArcGISTiledElevationSource("http://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer");
arcGISScene.getBaseSurface().getElevationSources().add(elevationSource);
//BasemapLayer
arcGISScene.setBasemap( Basemap.createImageryWithLabels() );
mSceneView.setScene(arcGISScene);
Solution:
mSceneView.setAtmosphereEffect( AtmosphereEffect.HORIZON_ONLY );
... View more
11-29-2018
06:06 PM
|
0
|
0
|
427
|
|
POST
|
Reading Mbtiles by overriding getURL, notice that the tile data is requested by callback onRequestRequired, but the callback is very slow and no longer requests data at high levels, why? SDK Version:100.3 Demo: public class MBTilesLayer extends ImageTiledLayer {
String mMbTilesFilename;
private SQLiteDatabase mapDb;
//构造一个离线MBTiles图层
public MBTilesLayer( String _mbTilesPath ){
super( MbtilesUtil.newInstance().getMBTileTileinfo( _mbTilesPath ),
MbtilesUtil.newInstance().getMBTileEnvelope( _mbTilesPath ) );
mMbTilesFilename = _mbTilesPath;
try {
mapDb = SQLiteDatabase.openDatabase( mMbTilesFilename, null, SQLiteDatabase.OPEN_READONLY );
//setBufferSize(BufferSize.NONE);
} catch (SQLException ex) {
Log.e(this.getName(), ex.getMessage());
throw (ex);
}
}
@Override
protected byte[] getTile(TileKey tileKey) {
// need to flip origin
int nRows = (1 << tileKey.getLevel()); // Num rows = 2^level
int tmsRow = nRows - 1 - tileKey.getRow();
String sql = "SELECT tile_data FROM tiles WHERE zoom_level = " + Integer.toString( tileKey.getLevel() )
+ " AND tile_column = " + Integer.toString( tileKey.getColumn() ) + " AND tile_row = " + Integer.toString( tmsRow );
System.out.println( "Sql " + sql );
Cursor imageCur = mapDb.rawQuery(sql,null);
if (imageCur.moveToFirst()) {
return imageCur.getBlob(0);
}
return null; // Alternatively we might return a "no data" tile
}
}
... View more
11-09-2018
01:50 AM
|
0
|
0
|
703
|
|
POST
|
SDK Version 100.3 Android 8.1.0,level 27 This problem has been bothering us.
... View more
10-07-2018
06:53 PM
|
0
|
1
|
971
|
|
POST
|
Thank you very much, this service is a national public service platform, I don't know if it uses esri app.
... View more
09-25-2018
03:09 AM
|
0
|
0
|
2507
|
|
POST
|
I can't load the China tianditu using the Android Runtime SDK 100.3 version of WebTileLayer. The 100.1 version can be loaded and displayed correctly. Has the new version been modified? Service address: http://{subDomain}.tianditu.com/DataServer?T=vec_w&x={col}&y={row}&l={level}
... View more
08-30-2018
04:42 AM
|
0
|
3
|
3764
|
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|