This might not looks like a real question, but I have a use-case for which I am not able to find the solutions. I have to show few point of interests like 'walmart','truck wash', 'rest-area' etc. My problem is Google Places map API doesn't give the filter option on the nearby searches and mapkit MKLocalSearch returns data beyound the bound region. My requirement is same like the Dat-trucker app. I am wondering, how they are showing "POI" on their maps. Seems like they are using MapKit, cause there is no attribution for google.Is there any alternative for Google Places API which can return the nearby places with filter functionality. I am attaching screenshot of the reference app.
You can give the Yep Fusion API a try. They provide nearby businesses which is what the Google Places API does.
Related
I'm making an iOS app that needs to be able to find the most populated cities within a radius from a certain point, and to calculate a route that passes through a certain number of those cities, that satisfy a certain time constraint. I'm planning to use Google to give me polylines that I can put directly on an Apple Map in the Mapkit for Xcode. I've looked into the Google Maps SDK for iOS, and Google Places. Google also has a Directions API, and a Distance Matrix API. With so many API's, I'm slightly confused about which one I should use, and for what.
Additionally, do Google API's provide city population, or should I find that via another database?
You can use Google Maps URL Scheme to get directions for Google Maps iOS.
If you are ever confused about which API to use for Google Maps, you can use API picker.
There is no Google API that give city population, so you would need to find it with a another database.
Is it possible to have specific markers based on a user's search with Google Maps API? For example, I'd like to be able to create unique markers for different food cuisine types: american, asian, european, and indian. If the user types in american for example, can I add a special marker for this and if so, how can I achieve this?
Google has a great API that details how to do what you need pretty well. The Google Places API has some examples of how to search for places. The Maps API has an example on how to add custom marker symbols. Once you get the data back from the query posted, you can parse it to get details on the restaurant and associate an icon with that restaurants position
I think you are looking for the iOS SDK (I just looked at your tags):
https://developers.google.com/maps/documentation/ios/marker
I need to implement street view, but it seems that google does not have that capability for India.
I want that The map should be dynamic and the customer should be able to see point of interest near a specified point and within a given radius or zip code.
I need to geocode and reverse geocode
Can somebody share an idea and one quick example of this.
if you want to get places of interest near by some location, then I would suggest using HERE PLACES API for that task. The site should also include nice examples for the API. Also its simple REST API, so it would work in any platform really.
Is there a way to get all places of an given region?
I would like to offer the user a list of all existing venues in a region when he taps the screen, but I only found ways to use MKLocalSearch with a specific search query string.
Is there a way to get all places of an given region?
There's nothing built into MapKit or Core Location that provides that kind of information. Your best bet would be to look for a suitable data source for the kinds of "venues" that you're interested in, such as Google, Yelp!, FourSquare, yellow pages, etc.
I just playing with MapKit and it's going well. If we looking at Native App (Maps) there are possible to find direction between two places. What is intresting for me - how they get list of Street when you type name? There are in SDK some possibility to get Streets list by couple of symbols?
Thanks.
I'm not a Map Kit expert but I recommend you review the Map Kit Framework and especially the MKLocalSearch Class Reference.
The MKLocalSearch class allows you to search for addresses in a region as an equivalent of a search in the Map app. I'm not aware of any API that allows you to retrieve ALL the streets in a region.
MKLocalSearch is the best and easiest way to do instant search of google maps,i have done it and its awesome and very simple