graphhopper-ios
graphhopper-ios copied to clipboard
New country
Hello, I have modified the import-sample.sh to download the greek map, but the application always starts in online mode and always with the romanian maps? What should I do?
Giannis
This is probably because the map data didn't update successfully. Make sure you download and add the correct map in your app.
I have downloaded it with the provided script Neverthless, the applications starts with the romanian map and the centre is the city of Brasov!!
Giannis
2018-09-19 10:22 GMT+03:00 Calin Seciu [email protected]:
This is probably because the map data didn't update successfully. Make sure you download and add the correct map in your app.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/graphhopper/graphhopper-ios/issues/36#issuecomment-422687260, or mute the thread https://github.com/notifications/unsubscribe-auth/AGAwse4AGNl9PlpY1tcxHvLhND30k5BZks5ucfDTgaJpZM4WueTU .
The map is shown using MBXMapKit from Mapbox and is configured in ViewController.m#L90. At the time it was the easiest way to display a map, within the sample app.
However, you should use your own map, and any code related to GraphHopper is in Directions.m. So my recommendation is to use the sample app just as an example to get you started with GraphHopper. Map display is out of scope.