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
Related
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/
I'm using MapKit to load a MKMapView and loading KML files to display a route with polylines between the designated points. I've seen a similar Android app using Google Maps that animates the route and runs it from start to finish.
I've been through the MapKit Framework documentation and I can't find anything that suggests I can do the same thing using Apple Maps.
If I'm wrong and it is possible I would be grateful for any information
The only way to resolve this issue is import the Google maps framework, which works perfectly well alongside MKMapkit.
There is a facility within Google Maps that enables the developer to animate their route.
Is there any native solution using Google maps in iOS6 development?
Let's not assume UIWebView.
What do you think, are developers going to use Apple maps because they don't want to use UIWebView?
Under iOS 6.0 you will have to use UIWebView (the google maps rendering 'engine' is not present as before), this might change in the future but it's not very likely because google and apple don't like each other any longer.
How about using layered map tiles on top of Mapkit? See this link
(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.
Okay, so we have an app written in objective-c for iOS. My job is to rewrite it using html/css/javascript and phonegap as a multiplatform app for ios and android.
Part of the existing objective-c app works like this: you select an item off a list, and it loads an embedded map from ios's built-in maps (not google maps) and puts a marker on the map where that item is. You can tap on the marker and it brings up a little info box with a button to "See more info," which if pressed takes you to a separate part of the app with information regarding the item.
This is the part I'm trying to get working in html/css right now, and I don't even know if that's possible.
So here's my question: can that be done using the google maps api, the whole embedding functionality into the map? i need that little info box which brings me back to the app; that's the crucial portion. Does anyone know whether this is possible, and whether there are any good references, examples, or tutorials to help out?
In the Google Maps API you can add Markers.
You can add a "click" event listener to the Marker where you can then open an InfoWindow.
In the InfoWindow, you can place some HTML, including a link or button that invokes a JavaScript function that will take you to the next screen of your web app.