POI: Point of interest(http://en.wikipedia.org/wiki/Point_of_interest)
Is there a iOS api which I can use to get a list of POIs near a user location? Here's what I want - the user enters a search term and I already know his latitude and longitude. I want to get an list with the POI details based on the search terms.
So lets say I search for Starbucks at a particular location, I should get all Starbucks within a radius of say 5 miles from where I am.
Can iOS API do this?
Not natively within iOS, but you can use a third party provider, such as YellowPages.com.
http://www.yellowapi.com
Related
Everyone knows that Maps app can detect your home and work location and it shows you with "maps destination" feature. I am just wondering how it gets our specific location like work and home. Is it because we are stable on some places and it figures out we live here and we work there in specific time?
I'm also wondering that how can we get detected datas from the maps. Is it possible that I can use home and work locations on my app, using MapKit?
No you cannot, since it’s confidential users data. Only apples map app can use it
I've been trying to find some info on using Google maps for a project I'm doing now. But I've been kinda confused. I want to use the
main view-controller in the storyboard to have a search bar
and you can type in your town or zip code, and it will take you to another view-controller with Google maps on it and it will show all the McDonald or whatever specific restaurant or store around you or in your city. This is my first time using Google maps API. Thanks!
Use Android studio for create map and for the API key "Google console" and turn on the API then go to login section and get your API key
Then you have to get all position of McDonalds and add Markers to the map
Im working on an app which requires the lat/long to display an annotation on a map. The user should be able to search for a business name and a allow him/her to select the correct one ...once he selects a pin annotation should be display on a map.
Currently I am able to search for a specific address using a search bar. I'm also able to display the pin annotation on the map. Is there a way to get the address and location for a business just like Uber and Lyft do it. For example, If i type the name of restaurant what is the best way to display restaurant options and 2. get the actual location (lat/long) and address for this restaurant.
Do we need to use an API like Google FourSquare etc?
I'm developing a navigation app for iOS using Google Maps SDK. I need to give a route search functionality only within one city, otherwise show a warning message.
So, the question is: can someone please recommend me a way to detect whether a user is within a particular city?
Great thanks in advance.
You can find out user's current latitude and longitude.
In a google map you can plot a position with lat and long, and if its true for your city's coordinates - You are on.
A great documentation is here.
I would like to check in which country the user is - I have tried a few ways but none give the requested result. My main goal is when the app launches check in which country the user is and based on this by pressing a button call a different phone number, For instance user can be in Canada use the app and by pressing the button dial an XXX number and next week with same Iphone be in the US and by pressing the same button dial a YYY number.
I have tried using CoreTelephony but this is good only for 4.0 and up i want my app to support earlier versions of iOS also tried Geocode but i do not want to display a map in my app.
Any guidance will be appreciated.
Get your current location and reverse geocode it.
Get your current location using CLLocationManager. Reverse geocoding is supported by iOS SDK 5, so if you need support versions below 5.0, you need to use external geocoding service. For example, Goolge Maps Reverse Geocoding, that is described in details here: http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding
What you need to do, just send a request like below:
http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true and you'll get back a JSON with formatted address components.