-
Hello, I tray to switchover from mapsforge to vtm library in my app. I stuck when using different tileonline providers. For some of them I am getting map on the screen, for other only white screen although using web browser i got the tile e.g Now using VTM: UrlTileSource bm = new BitmapTileSource("https://a.tile.opentopomap.org",0,17); UrlTileSource bm = DefaultSources.OPENSTREETMAP I am getting white screen if i replace https://a.tile.opentopomap.org with https://tile.openstreetmap.org all works fine. Do you know what I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
See the DefaultSources for how to create custom tile sources OpenTopoMap works fine if added properly, as seen in above sample. |
Beta Was this translation helpful? Give feedback.
-
Thank you @devemux86! I followed the examples and everything works like expected. |
Beta Was this translation helpful? Give feedback.
See the DefaultSources for how to create custom tile sources
and the BitmapTileActivity sample for how to add them on the map.
OpenTopoMap works fine if added properly, as seen in above sample.