
public class GeopackageSample extends BaseSampleFragment
created on 1/12/2017.
| Modifier and Type | Field and Description |
|---|---|
(package private) org.osmdroid.tileprovider.tilesource.XYTileSource |
currentSource |
(package private) org.osmdroid.gpkg.GeoPackageProvider |
geoPackageProvider |
(package private) TextView |
textViewCurrentLocation |
(package private) org.osmdroid.gpkg.GeoPackageProvider.TileSourceBounds |
tileSourceBounds |
mMapView, TAG| Constructor and Description |
|---|
GeopackageSample() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlays()
An appropriate place to override and add overlays.
|
protected static Set<File> |
findMapFiles()
simple function to scan for paths that match /something/osmdroid/*.map to find database files
|
String |
getSampleTitle() |
void |
onCreate(Bundle savedInstanceState) |
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState) |
void |
onDestroy() |
getmMapView, onActivityCreated, onCreateOptionsMenu, onDestroyView, onOptionsItemSelected, onPrepareOptionsMenu, runTestProcedures, skipOnCiTestsTextView textViewCurrentLocation
org.osmdroid.gpkg.GeoPackageProvider.TileSourceBounds tileSourceBounds
org.osmdroid.tileprovider.tilesource.XYTileSource currentSource
org.osmdroid.gpkg.GeoPackageProvider geoPackageProvider
public String getSampleTitle()
getSampleTitle in class BaseSampleFragmentpublic void onCreate(Bundle savedInstanceState)
onCreate in class BaseSampleFragmentpublic View onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
onCreateView in class BaseSampleFragmentpublic void addOverlays()
BaseSampleFragmentaddOverlays in class BaseSampleFragmentpublic void onDestroy()
onDestroy in class BaseSampleFragment