Public Transport Overlay #1949
Unanswered
AverageMello
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i am trying to get a map with an overaly of public transport displayed:
`val mapView = binding.mapView
val ctx = applicationContext
Configuration.getInstance().load(ctx, PreferenceManager.getDefaultSharedPreferences(ctx))
mapView.setTileSource(TileSourceFactory.MAPNIK)
centerMapOnPosition(51.57412537712895, 7.0285164257552974, 18.5, mapView) // WHS als Beispiel
This code sadly only outputs an empty grid as map with nothing to see on.
If i change "provider.tileSource = TileSourceFactory.PUBLIC_TRANSPORT" to "provider.tileSource = TileSourceFactory.OPEN_SEAMAP" i get an map with an overlay of open sea information tho. I don't really now where my error is as it works wih the overlay of seamap but not public transport?
Beta Was this translation helpful? Give feedback.
All reactions