arcgis android sdk load local tile

public class LocalTiledLayer extends Activity {

MapView map = null;
ArcGISLocalTiledLayer local;

/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
map = (MapView) findViewById(R.id.map);

//the data is stored on the SDCARD
//the data is created as a tiled cache /mnt/sdcard/Parcels/v101
local = new ArcGISLocalTiledLayer("file:///mnt/sdcard/Parcels/v101/Parcel Map");///Layers
map.addLayer(local);


}
}

你可能感兴趣的:(android sdk)