maplibre / maplibre-navigation-android

Maplibre Navigation SDK for Android
MIT License
86 stars 44 forks source link

Sample app map is not rendered #85

Closed AndrewKisykP closed 11 months ago

AndrewKisykP commented 11 months ago

<?xml version="1.0" encoding="utf-8"?> I built your example using the library, but unfortunately I get a blank screen instead of a map. What else do I need to do besides editing developer-config.xml?

https://api.mapbox.com YOUR_MAPBOX_ACCESS_TOKEN_GOES_HERE

image

Fabi755 commented 11 months ago

Do you set a tile provider URL, Like MapTiler?

Are more information in the logs?

AndrewKisykP commented 11 months ago

Hi @Fabi755 Im using this map_style_light url https://api.maptiler.com/maps/basic-v2/?key=$MY_KEY#0.3/31.27676/43.78558 image

AndrewKisykP commented 11 months ago

i @Fabi755 I managed to fix it, the problem was that the url map tiler contained the coordinates for the preview image

Fabi755 commented 11 months ago

Sounds good 💪 Thanks for share your solution! 💙