Skip to content

Instantly share code, notes, and snippets.

@esaounkine
Created June 7, 2011 08:01
Offline tile layer with ArcGIS for Android - usage
map = (MapView) findViewById(R.id.map); //get the map instance
TiledLayer DAY_LAYER = new OfflineTiledLayer(this, new File(Environment.getExternalStorageDirectory(), "services"), "/RoadMapsWebMercator101010/MapServer/", "index.html", "/Day/tile/"); //create a layer
map.addLayer(DAY_LAYER); //add this layer to the map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment