Hi Marc,
OK - thanks.
A small test activity appears to work perfectly with my custom tile
source if I make XYTileSource, and its constructor, public (reproduced
here in case anyone else finds it useful...)
public class OpenTrail extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
MapView map = (MapView)findViewById(R.id.map);
XYTileSource freemap = new XYTileSource
("Freemap", null, 0, 16, 256, ".png", "http://
tilesrv.sucs.org/ofm/");
map.setTileSource(freemap);
map.getController().setZoom(13);
map.getController().setCenter(new GeoPoint(51050000,-720000));
}
}
BTW is the ResourceProxy argument necessary in the XYTileSource
constructor? My code works if this is set to null (or
ResourceProxy.string.unknown).
Nick