Can I use Google Maps API (Places API) in my iPhone app to find locations near me? - iphone

I have a couple of questions regarding using Google maps API, especially the Places API in my iPhone application.
Can I use Places API in my iPhone app and still release the app as a paid app? Could I release my app as free if I am unable to use these APIs in a paid app?
Is there an example for figuring out store locations around user's current location using Places API? For example if the user types "Groceries" in the app, I would like to show all the Store that sell groceries near the user's location.
Thanks!

1) Taken from their terms and conditions:
If your Maps API Implementation is
deployed internally or you are
charging for use of your Maps API
Implementation, please contact the
Google Maps API Premier sales
team for more information.
2) Location is a required parameter in any search request:
http://code.google.com/apis/maps/documentation/places/#PlaceSearchRequests

Yes, you can use Google Map API in paid apps according to the term of use 9.1.1-(a) and 9.1.2-(b). The terms of service can be found at https://developers.google.com/maps/terms :
(b) Mobile Applications. The rule in Section 9.1.1(a) (Free Access) does not apply if your Maps API Implementation is used in a mobile application that is sold for a fee through an online store and is downloadable to a mobile device that can access the online store.
Examples can be found at https://developers.google.com/places/ and https://developers.google.com/places/documentation/

Related

Huawei Map Kit Directions API does not show Route planning in the US

I am using Huawei Map Kit REST Directions API for route planning in my Android app. The details of the Directions APIs can be found at the links below:
https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/web-diretions-api-introduction-0000001050178120-V5
https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/directions-walking-0000001050161494-V5
The Directions API works well in my app for route planning in most of countries and regions. But it seems that the function of Directions API does not work in the US. In other words, it does not show route between two places on Huawei Map. After checking the supported countries/regions in Huawei developer website, the country of the US is supported by Map Kit. Why does the route planning not work in the US?
Regarding your feedback, the current route planning function in Directions API of Map Kit does not support the route planning of locations in the United States for the time being. We are now completing the part of the function to support the US.
We are sorry for not clearly stated on the website and will refresh the information on the website as soon as possible.

is Geocoder flutter not free like Geocoding api

I'm using the Flutter Geocoding Plugin library,
https://pub.dev/packages/geocoding
I'm just confused by the Geocoding APi that is on the google map service here:
https://developers.google.com/maps/documentation/geocoding/
is it the same? and is it paid?
According to the home page of the plugin Geocoding of baseflow.com
Important:
This plugin uses the free Geocoding services provided by the iOS and
Android platforms. This means that there are restrictions to their
use. More information can be found in the Apple documentation for iOS
and the Google documentation for Android.
The availability of the Google Play Services depends on your country.
If your country doesn't support a connection with the Google Play
Services, you'll need to try a VPN to establish a connection. For more
information about how to work with Google Play Services visit the
following link: https://developers.google.com/android/guides/overview
And the Before you begin section of the Google Maps API got this
Before you start developing with the Geocoding API, review the
authentication requirements (you need an API key) and the API usage
and billing information (you need to enable billing on your project).
So by conclusion, the first is free and the second ain't!

Is it possible to embed Google Analytics eCommerce dashboard into swift application

I'm building a swift app with the purpose of showing GA ecommerce sales from multiple vendors on my website. Each vendor can register on the app and then the access of their sales data will be granted to their user so they can follow their sales.
The ecommerce tracking is preformed by Google Analytics so is there any way where I can embed my eCommerce dashboards onto my swift app?
You can not.
There's no such API available for that intent, the way you want it. You must use theirs...
I am very sorry to tell you, but its is the plain truth.
Welcome!

Create personal POI for google maps

I am working on a project where my customer has to administrate (delete & add) several addresses (locations) on a google map.
This map needs to be inserted in a website with all the POIs.
Also the app needs to be embedded in android app and ios app.
The point now is how can I make it possible for the customer to administrate all locations?
When using the:
Google Maps Android API
Google Maps for iOS
Google Maps JavaScript API
Might be super easy but I miss this puzzle....
Take a look at Google My Maps - service that enables users to create custom maps for personal use or sharing (mymaps on stackoverflow). But take into account that currently there is no any API to access My Maps programmatically.

How does Google Maps see native iPhone apps: Server App or Browser App?

I have a Google API console premier account, and I'm using the places service for an application that has two parts, web app and mobile app.
It seems that Google API distinguishes between server and browser apps. So for each category I have to generate keys specifically for it.
The mobile app is a native iPhone App, that uses the Google Places Web Services XML API for a simple auto complete function.
The question is in which category does mobile apps fall in?
Browser Apps
Server Apps
And any resources of how to use them?, does the Google JavaScript API V3 still requires an API Key for the premium users? Google documentation about this subject does not have enough information.
There are two different interactive types of Mobile Apps that use Google Maps:
ones that use the Maps Javascript API v3 (either directly or embedded in a Native Application)
ones that use Native Google Maps APIs (currently available for Android and iPhone)
For more on that you can have a look at:
http://code.google.com/apis/maps/articles/mobile_overview_v3.html
Ones that use the Maps JS v3 are Browser Apps, the Native Apps are neither. They have their own TOS and quota system, like the one for iPhone and the one for Android.
About Google Maps JS API v3. It an be loaded :
without any key
with an API console key, which will allow you to track your usage (this was introduced recently)
with Maps Premier client id (gme-) if you are a Maps API Premier customer
The XML web service for places API should be used only as a server side solution. This is because you can imagine that a user might steal your key from the source of your iPhone app (by sniffing on the traffic) and use it.
The safe way out is to use a proxy server. You would then register an App Key for server apps (with IP locking for your proxy server) and then make calls to the Places API from this proxy.
Another option would be to use UIWebView on the iPhone side with JS Maps API v3 and Places library on the Google side. You would then fall in "ones that use the Maps Javascript API v3 in a Native Application" category.
You could then use any of the 3 options to load JS Maps API that are mentioned above.
I had to cut away some links, since I am not able to paste more than two, but I hope that helps anyway
Unless you have strong reasons against it, the "ones that use the Maps Javascript API v3 in a Native Application" category is the best option. There's a nice talk from Google I/O 2010 about it: http://www.google.com/events/io/2010/sessions/map-once-map-anywhere-geospatial-apps.html