Ich brauche die offline Fliese in Apposmdroid offline Karte Laden nicht die Fliesen
i die Kacheln heruntergeladen haben, um zu sehen, mit "Mobilen Atlas Creator 2.0.0 beta 1" Konfigurationen wie unten
die Fliese Zip-Datei ist im Code
/mnt/sdcard/osmdriod/tiles.zip
MyActivity wie unten
MapView mapView = new MapView(this); //constructor
mapView.setTileSource(new XYTileSource("MapQuest", 0, 10, 256, ".png", new String[] {}));
mapView.setClickable(true);
mapView.setBuiltInZoomControls(true);
mapView.getController().setZoom(1); //set initial zoom-level, depends on your need
mapView.getController().setCenter(new GeoPoint(52.516667, 13.383333)); //This point is in Enschede, Netherlands. You should select a point in your map or get it from user's location.
mapView.setUseDataConnection(false); //keeps the mapView from loading online tiles using network connection.
setContentView(mapView);
und die AndriodManifest.xml hat diese Berechtigungen
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
Aber die Fliesen auf der Karte nicht
osmdroid Version Kompilierung ' org.osmdroid: osmdroid-android: [email protected] '