Created
June 7, 2011 08:01
Offline tile layer with ArcGIS for Android - usage
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
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