Is there any native city name search feature in iOS SDK?
For example, in lafourchette application - https://itunes.apple.com/fr/app/lafourchette-reservation-restaurants/id424850908?mt=8
How in this application done search feature?
(you can see it at attached gif Example of city name search)
It is use native Apple SDK for retrieving cities or some outside internet service?
You can use both the iOS Maps SDK or a third-party service such as Google Maps SDK or even Foursquare API. I'm not sure which one lafourchette uses but here are some useful links to get you started:
iOS Maps SDK (CLGeocoder or MKReverseGeocoder)
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/LocationAwarenessPG/UsingGeocoders/UsingGeocoders.html#//apple_ref/doc/uid/TP40009497-CH4-SW2
Google Maps SDK
https://developers.google.com/maps/documentation/ios/start
Foursquare API
https://developer.foursquare.com/resources/libraries
The concept you are talking about is called Reverse Geocoding, and can be found in the iOS docs. There are also several third party companies like Google who do this as well.
Related
Is there a way to change style of map in iOS using Google Maps SDK?
I know it's possible using Javascript SDK: https://snazzymaps.com/style/6777/new-map
It's possible to style Google Maps for iOS. Google also provides a really nice generator for it:
https://developers.google.com/maps/documentation/ios-sdk/styling
UPDATE (October 2016):
Recently Google have implemented this feature. #sativa has the right answer.
ORIGINAL POST
Although it's possible on the web, as of now you can't do this through Google Maps SDK for iOS. There's a feature request that you can join.
I've installed Google Maps SDK for iOS thinking that I would get the directions between two places, like , the web API but following the tutorial what it seems is that it just opens the Google Maps app, which can also be done without the SDK.
Am I understanding it wrong or the Google Maps SDK only offers open the app?
Thanks
Well, it depends exactly what you mean and want by "directions".
The Google Maps SDK for iOS does not itself do any sort of directions.
What you can do is use the Google Maps Directions web service to obtain information, then use that information to create a GMSPolyline which then can be rendered atop your in-app map. So basically it can show the line between point A and B, which is some level of directions, but may or may not be what you're wanting. Here's a YouTube video from Google that shows how to do this, and some sample code from Google's Mano Marks.
But if what you want are turn-by-turn directions, spoken directions, etc., no, the SDK cannot do that; you have to launch the external Google Maps app.
We have a commercial web application and we are planning to develop android and iOS apps(free) for our customers
Is google maps ios sdk is free to use in my app?
we want to open google maps app from our app using custom url scheme to show driving directions. Does this approach have any restrictions?
There is nice FAQ about your questions on Google Developers website:
Is google maps iOS SDK free to use in my app?
Yes
we want to open google maps app from our app using custom url scheme to show driving directions. Does this approach have any restrictions?
Google Map API for Business - Usage Limits
The google maps iOS sdk is free for use. i have already integrated google map api functionality on one of my phonegap application. After making some minor changes in to the sdk you can enable the real time navigation on the google map as well.
so you can do a lot with the google sdk.
Hope this will help.
It actually depends, if you are using advanced feature eg Street View, it charges, but for basic feature, it is free for native app, but JS query is not free (eg wrapped by Webview) is not free.
Checkout the official website for more detail and accrete information: https://developers.google.com/maps/documentation/ios-sdk/usage-and-billing
Is there any protocol that I can use to open an address in the (now downloadable) Google Maps? This is not a native app, just a web app/site for Safari (web clip). Does Google provide any such protocol for use on a non-native app? I know how to accomplish this for the Apple maps app (with the maps://), but does Google provide any way for doing this for their Google maps app?
Thank A LOT in advance!!
I believe so, the URL would be (comgooglemaps://...)
see this article for more information-- https://developers.google.com/maps/documentation/ios/urlscheme
I need to remove mapkit from my iOS app but still need google maps. In this particular instance I merely need satellite views that are zoomable and scrollable. Markers would be nice, but not required.
I can use a webview with javascript, but I'd prefer a mapkit-like API so I can simply transition away from mapkit without significant effort.
Are there third party google map APIs I can use that allow me to use google maps on iOS devices without invoking Apple's built in mapping API?
Google released their new Maps SDK for iOS yesterday. It can be found here: https://developers.google.com/maps/documentation/ios/
If you are looking for an alternative library, there are a few:
RouteMe which is open source and supports multiple map sources.
MapBox is a third party service with an iOS SDK
The Google Maps terms of service specifically prevents direct tile access. You will not be able to legally use Google Maps tiles on iOS outside of MapKit.