(I'm not a iOS dev, just need to know it for a concept) is it possible to have a navigation system the same like the maps app have it whitout leaving the my own map-app that uses the google maps inside. And will it be possible to use the turnbyturn navigation in iOS6 and the new Vector map inside of my own map-app?
You will have to use the official Maps app for turn-by-turn. You can draw paths on the MKMapView but would need to supply your own data.
Related
I have integrated HERE maps successfully in my iOS app, but now I am facing an issue in implementing info-bubble on tap of markers on HERE map.I have searched on HERE documentation for iOS SDK, but can't find anything relevant. There are many solutions for JS, but nothing for iOS.
This feature doesn't seem to exist on iOS and Android. In order to create a similar behaviour in iOS, you should use NMAMapOverlay instead and add your own subviews/styling to it.
The iOS SDK documentation states that NMAMapOverlay can be used to display custom UIView-based content at a fixed location on the map. (...) Then, give the overlay a NMAGeoCoordinates location and add it to a map. The overlay will automatically be repositioned on the screen as the map moves.
You can find more information about the best practices for the implementation here:
https://developer.here.com/documentation/ios-premium/3.15/api_reference_jazzy/Classes/NMAMapOverlay.html
There is an app, that should provide turn by turn navigation. At the moment it uses Google Map SDK and I was able to draw a route using Google Directions API and GMSPath using tutorial from AppCoda. Problem is it looks kind of ugly - simply thin blue line.
My questions is it possible create turn by turn navigation inside an app using Google Maps?
I think Google does provide this option but not for free.
Have a look at this:
https://cloud.google.com/maps-platform/ridesharing/
So basically I want to add navigation to my app, but I don't want to launch the Google Maps app for iOS and then return the user to my app, but I want to open up the navigation inside a ViewController, much like you can do with regular maps using MapViews for Google Maps.
Is this possible? I can only find resources on how to launch the Google Mapps app for iOS outside your own app, and it's not exactly the best sentence to search for either.
Just thought of a possible solution: Open the Google Maps Navigation from the Web in WebView...should work, right?
You could do that, if you really need to use Google Maps; however, this will probably look bad. A MKMapView is much easier to use, but it uses Apple's maps. If you want to use it, take a look at the CoreLocation and MapKit frameworks.
If you want to use Google Maps in your app, just implement Google Maps iOS SDK.
https://developers.google.com/maps/documentation/ios/start
I am trying to implement something like Google's indoor maps feature, locally in my iOS app, using GroundOverlays. I could easily get the overlay part done by overlaying a .png image at some position in the map, using the API. I could also implement a custom floors switcher, just like Google's one, so it changes the floor overlay image. However, I still miss the ability to navigate in the native indoor maps. How can I define custom navigation paths in that region so when user navigates between two points inside it, the calculated path gets generated with respecting them?
Apple's latest Maps application allows a user to rotate a map. How can I add this functionality to my MKMapView? I presumed it'd just be a case of setting a boolean property (similar to zoomEnabled), but I can't find anything relevant in the documentation.
There is no built-in rotation support in the MapKit of iOS. You could use regular view transforms (but than all street names etc. will also be rotated of course), or you use the Google Maps SDK or MapBox or something else.
The Google Maps SDK does support rotation, even 3D rotation. The SDK Download includes an example project showcasing the functionality.
Actually MKMapView does support map rotation starting with iOS 5.0. Either you use the MKUserTrackingBarButtonItem control in your toolbar (user taps it until the map is rotating), or you set the userTrackingMode property to MKUserTrackingModeFollowWithHeading.