Closed randyhbh closed 7 years ago
As far as I know Mapbox Navigation is a native front-end wrapper for their online navigation API. It does not do routing by itself. Carto SDK has internal offline turn-by-turn routing API, so in principle yes, it should be possible to reconfigure or rewrite Mapbox Navigation to use Carto on-device routing API instead of Mapbox online API. Still I'm not sure if you would get offline navigation as result, as mapbox navigation may still need their online map tiles to show map view I guess.
For me more promising approach would be to use something like https://github.com/mapzen/on-the-road_android for GPS location smoothing (snap to road), and then turn-by-turn navigation is quite simple app on top of carto-mobile mapview and offline routing.
uff my error, actually what I wanted to ask is what you clarify me above about Mapbox Navigation, a native front-end wrapping for navigation
By chance you will not have another case study similar to the one that points me up but made for iphone
@RandyHBH this sounds like an interesting proof of concept. I'll try to create something in the coming days :)
I wrote a basic proof of concept, currently it's sitting in the tbt branch. It's still raw, I'll move it to master when I feel it's complete, but in the meantime, you can check out TurnByTurnClient.swift
Current features:
What I'd like it to have:
Closing this issue, as it's not really an issue with mobile-ios-samples, but rather a proposal.
@Nikituh Thank you very much, and certainly great work in such a short time
@Nikituh, Hi
i am trying to rotate de location marker using CLLocation
true hedding, but i cant make it work, i set a bitmap image to the location marker wich is an NTPoint
object, but NTPoint
dosn't have any method to rotate according to the angle, instead of NTMarker
, i try to use an NTMarker
for location marker but at low zoom levels (zoom 6) never show the real position so i think NTPoint
was a better fit, i hope you can help me
Hey @RandyHBH , can you please post additional questions about SDK usage to https://stackoverflow.com/questions/tagged/carto-mobile (with tag carto-mobile)? The github project here is not good place for them, it is meant for specific issues found from mobile-ios-samples apps.
Great, thanks! Somebody will get to it soon enough :)
Is is possible to have a Turn-by-Turn Navigation in carto-mobile like Mapbox Navigation, or it is posible to use the Mapbox Navigation into carto-mobile?