Can I use google places API (auto-complete) and Mapkit together? - ios

I want to allow the user to select a place (Google places auto complete API) and then show the place selected on map.
Can I use google places API for iOS and apple map (Mapkit) for this purpose? Map and the selection feature will be on separate view controllers but according to https://github.com/watsonbox/ios_google_places_autocomplete ,
displaying Google Places on a non-Google map is against their terms of
service.
So if I use them together, Will my app wont be accepted while uploading or app store? Or what will happen?

From Google Terms of Use:
(d) No Use With Non-Google Maps. Customer will not use the Google Maps
Core Services in a Customer Application that contains a non-Google
map. For example, Customer will not (i) display Places listings on a
non-Google map, or (ii) display Street View imagery and non-Google
maps in the same Customer Application.
As for me it says that we can't show places list provided by Google Places API on non-Google map. But it says nothing about displaying place that was chosen from Google Places list.
More then that, I have app with exact functionality that you want and I didn't had any issues with App Store submission.

Related

Fetch toilets list using google maps places api

The Google Map's places list does not contain toilets in it, but I need to show toilets list on Google Maps. How do I show this data using a Google API?
I'm assuming you're trying to fetch this data via the iOS SDK. You're better off using the Web Service API instead. i.e Issue an HTTP request via the app and then show the places that exist by iterating through the response.
https://developers.google.com/places/web-service/search#TextSearchRequests is a great place to start. You can use "toilets" or "toilets near me" as the search query.

Getting location coordinates from Address

The user will be prompted enter his address in a textfield and in the backend I want to get the location coordinates of the address.
I’m using geocoding service from google but not any of their APIs. I read somewhere in their document that “use of the geocoder for any purpose other than obtaining locations that will be displayed using the google maps APIs is a violation of the Terms of Service”.
And this is how HTTP request I use
http://maps.googleapis.com/maps/api/geocode/json?address=ADDRESS_STRING&sensor=false
Can I do this? I’m confused because I'm not showing any map at all but I want to get the coordinates. Will this be violating their terms?
Unfortunately, yes, I think you'd be breaking Google's rules here. See also this answer.
You could still use iOS' built-in forward-geocoding engine. See here for the docs.
Google Maps terms are very restrictive. However, it looks like they do allow showing results without Google Maps (Geocoding API Policies):
You can display Geocoding API results on a Google Map, or without a
map. If you want to display Geocoding API results on a map, then these
results must be displayed on a Google Map. It is prohibited to use
Geocoding API data on a map that is not a Google map.
So you can't display Google Geocoding API results on "non-Google" maps.
Nevertheless, please remember that you still can't cache (only lat/long on the end-use device for 30 days) and store results.
Fortunately, there are many geocoding services that are based on open data. For example, we at Geoapify allow our customers to store and even redistribute data. Try our Geocoding API, and maybe you find that it's a worthy alternative to the geocoding service from Google.

Is it possible to get the geolocation of Google Plus Feeds which user is following

Currently I am working on iOS/android app in which I need to fetch the Geolocations of the feeds/posts on the Google plus for ex.News Company XYZ having page on G+ and they are posting the News feeds on it so I want the feeds with there location programatically for iOS
Does google provide such api to share the geolocation of every Feeds?
Location data isn't returned with posts in the current API. Might be worth starring the feature request, or creating a new one with your specific needs: https://code.google.com/p/google-plus-platform/issues/detail?id=15

Rails geocoding not for a map, not with Google

I'm using the geocoder gem, which by default uses Google for geocoding. However the Google terms of service do not probably allow usage that does not immediately show on a Google Map. Likewise Bing I think. Is anyone using a geocoding service that is both accurate for U.S. street addresses, and has terms of service that allow use outside of a map?
Thanks!
You can use the Bing Maps geocoder without a map if you wish. The only restriction is that you can't show those coordinates on a competitors map such as Google Maps. If this is for a mobile app, Win 8 app, or a public facing website there are free terms of use which you can look into. Mobile and Win 8 allow 50,000 transactions a day (i.e. 1 transaction == 1 geocode requests), public facing websites are allowed 125,000 transactions a year. If this is for an internal application or non-public facing app then you would need to license Bing Maps. You can find more information on licensing here: http://www.microsoft.com/maps/Licensing/licensing.aspx

Track exact Geolocation with Google Analytics and show on Map

Situation: I want to track some Data with Google Analytics on the server-side.
Problem: My application is able to provide an exact geolocation (lat, lng). I want to track it with GA as the 'users location' so i can show them on a Map in the GA Dashboard.
I know i may track custom variables/events, but am unsure how to plot them on a map in Google Analytics. My company would like to stay with one reporting tool.
You will not be able to plot these in the Google Analytics dashboard, but you should not let this stop you from moving forward. You could do this fairly easily by saving the geolocations in a custom variable and then pulling that data and then plotting it using a combination of the Data Export API and the Google Maps API. You will not, however, be able to embed this within the Google Analytics dashboard.
It currently is not possible to provide geolocation information directly to google analytics. Google automatically extrapolates that information based on data gathered from the web client (e.g. ip address), and you cannot provide that information since you are invoking tracking on the server-side.
It would be nice if google added the ability to provide at least city level geolocation data for server-side tracking, but it doesn't appear possible at this point in time.

Resources