In my android map tile navigation app the code
myMap.setTileSource(TileSourceFactory.PUBLIC_TRANSPORT)
just gives an empty (apart from the map grid lines) screen. However, there is no problem generating MAPNIK tiles with
myMap.setTileSource(TileSourceFactory.MAPNIK)
Has the server PUBLIC_SERVICE functionality been discontinued? If not, what is wrong with my code?
Thanks in advance
SomeoneElse
(Andy Townsend)
November 19, 2021, 4:23pm
2
In your Android code, what is “PUBLIC_TRANSPORT” actually defined as?
What libraries are you using?
TileSourceFactory.PUBLIC_TRANSPORT is a static variable. Its type is an integer. It’s not me who thought it up, it belongs to the imported TileSourceFactory class.
SomeoneElse
(Andy Townsend)
December 23, 2021, 3:58pm
4
You’ll need to ask whoever wrote that, then.