0

Am trying to use OsmDroid with MapQuest maps downloaded from Mobile Atlas Creator. I followed all the instructions to generate the map tiles, upload them to the SDcard etc but when I run this on the device I get a screen with a bunch of empty boxes... What am I doing wrong?

> @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.osm_map);
>         mapView = (MapView) findViewById(R.id.mapview);
>         mapView.setTileSource(TileSourceFactory.MAPQUESTOSM);
>         mapView.setBuiltInZoomControls(true);
>         mapView.setUseDataConnection(false);
>         mapController = mapView.getController();
>         mapController.setZoom(15);
>     }
>     protected boolean isRouteDisplayed() {
>         // TODO Auto-generated method stub
>         return false;
>     }
Lennie
  • 1,999
  • 4
  • 27
  • 42

1 Answers1

0

There is a post covering the same topic here. If that doesn't work you can try my solution which is a little more complex but has the advantage that you can put the zip in any folder you'd like.

Community
  • 1
  • 1
Warpzit
  • 27,966
  • 19
  • 103
  • 155
  • Location need to be under the sd card: /sdcard/osmdroid/tiles/MapquestOSM/15/X/X.png – Lennie Dec 16 '12 at 08:22
  • @Lennie Why are the tiles that are downloaded during online use called /sdcard/osmdroid/tiles/MapquestOSM/15/X/X.png.tile (an additional .tile extension to the .png)? – David Doria Aug 27 '13 at 12:12