apple-maps

How to get same search hints as apple maps in my application

半城伤御伤魂 提交于 2019-12-10 14:56:24
问题 I implemented search bar in iOS application. I want to get the same (partial result) search hints as Apple Maps application. I tried to find out how apple implemented it but I was not successful on google or here on stackoverflow. It doesn't matter what is displayed exactly in my UITableView *searchHintTableView. I just don't get correct number of search hints. I am using my application and Apple Maps application on same device and on the same 3G wifi network(3G SIM router). What everything I

Same parameters for Apple Maps and Google Maps API?

左心房为你撑大大i 提交于 2019-12-09 16:11:50
问题 On iOS 6 devices like the iPhone and iPad, as well as the latest Mac's, a link to maps.apple.com/maps?q=cupertino is opened in Apple's native mapping application. On non-Mac computers and other devices, it leads to maps.google.com/maps?q=cupertino instead. This is a welcome functionality for developers, however, is Apple's API supported by Google Maps? In other words, do all of the following Apple Maps parameters translate perfectly to something in Google Maps on the web? q= The query

How to show locations of friends on map near by 20 km from user current location in ios [closed]

不打扰是莪最后的温柔 提交于 2019-12-08 14:24:22
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I want to get locations of my friends near by me within 20km.App should track my current location and when i want to search for friends within 20km,It should show All my friends location on map. locationManager = [[CLLocationManager alloc] init]; locationManager.delegate = self;

Open Apple Maps by passing latitude and longitude

六月ゝ 毕业季﹏ 提交于 2019-12-08 08:50:59
问题 I am trying to open Apple Maps in my PhoneGap app when a user clicks on a link. The URL scheme in Apple's documentation is like http://maps.apple.com/maps?ll=51.83733,-8.3016 , which opens Apple Maps if it is present, else redirects to Google Maps. But when I click on this link, it opens Google Maps Web App instead, and there is no way to go back to the app. Searching for a solution, I found this SO question - Phonegap - Open Navigation Directions in Apple Maps App It suggests using maps:

How to add apple map marker via query string in the url?

 ̄綄美尐妖づ 提交于 2019-12-05 14:34:30
I want add map marker (like google map) in the map app when I use a url link to open the map on the iPhone from my app. like this : <a href="http://maps.apple.com?ll=latitude,longtitude"> I can open the apple map and the map center is on the location I want, but how to add a marker at the same time? I am not sure how query string I can add on the url I have already read the doc below https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html#//apple_ref/doc/uid/TP40007899-CH5-SW1 Thanks in advance! If you wanna use internal map app (Apple Map),

Open maps with specific address iOS 7

早过忘川 提交于 2019-12-05 11:48:58
问题 I am trying to make my application open the apple maps application and have the address be pulled up. I tried this : - (IBAction)openInMaps:(id)sender { NSString *addressString = @"http://maps.apple.com/?q=1 Infinite Loop, Cupertino, CA"; NSURL *url = [NSURL URLWithString:addressString]; [[UIApplication sharedApplication] openURL:url]; } and this : - (IBAction)openInMaps:(id)sender { NSString *addressString = @"http://maps.apple.com/?q=1_Infinite_Loop,_Cupertino,_CA"; NSURL *url = [NSURL

How do I specify the zoom level when using an MKUserTrackingBarButtonItem?

℡╲_俬逩灬. 提交于 2019-12-04 16:23:58
问题 I am using a MKUserTrackingBarButtonItem button to allow the user to automatically track their location on a map. The problem is that when they tap this button, it is zoomed too far out. I want it to start at a specified zoom level (i.e. span). How can I achieve this? When the user taps the button to change to MKUserTrackingModeFollow , it seems to use the same zoom level that the user last manually changed to (i.e. using gestures on the map). Attempting to specify a different zoom level via

Search nearby in iOS Maps

我与影子孤独终老i 提交于 2019-12-04 14:16:05
问题 I am trying to build a simple application using MapKit that will automatically search for a specific place when the app launches and drop pin(s) on the map at the locations(s). I am seeing all sorts of ways to load locations (lat/lon, etc), but nothing that lets me search for a specific business name, restaurant name, etc. I am expecting to work with Apple Maps. However, if Google Maps would be a better solve than so be it. Any help would be appreciated. Thanks 回答1: iOS >= 6.1 provides

Calculate distance between 2 point on maps for iOS [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 13:46:35
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Is it possible to calculate the distance between 2 close points on iOS using Apple map framework or Google framework? For example, i want to get the distance between this 2 blu point with the highest accuracy possible. Using google maps or apple maps can i get the 2 coordinate

Same parameters for Apple Maps and Google Maps API?

北城以北 提交于 2019-12-04 03:20:40
On iOS 6 devices like the iPhone and iPad, as well as the latest Mac's, a link to maps.apple.com/maps?q=cupertino is opened in Apple's native mapping application. On non-Mac computers and other devices, it leads to maps.google.com/maps?q=cupertino instead. This is a welcome functionality for developers, however, is Apple's API supported by Google Maps? In other words, do all of the following Apple Maps parameters translate perfectly to something in Google Maps on the web? q= The query parameter. near= The location part of the query. ll= The latitude and longitude points for the map center