Search results for

“Apple Maps Guides”

163,062 results found

Post

Replies

Boosts

Views

Activity

Xcode error: Missing target with GUID
I have been getting the following error intermittently (once it happens, then its consistent) when I try to build my app Showing Recent Errors Only Unable to resolve build file: BuildFile (The workspace has a reference to a missing target with GUID '0c7e19da3805e0a412c717704d4549fc25560b498add930cbef9623bd9afb53a') There have been no changes to my project (git status is clean). I have tried cleaning DerivedData as well, but it did not help. How am I supposed to figure out from the GUID what is it that xcode is trying to find?
0
0
84
Mar ’26
iOS Maps internet port?
Hello people,I'm trying to find out which port is used by MapKit / iOS maps. My application runs behind a VPN connection which grants access to a private network but it blocks evreything else. I still need map-functionality however which is also being blocked. What port does Maps use to download things like map tiles and step by step navigation programs.I have checked https://support.apple.com/en-us/HT202944 but Maps is not listed on there. It does make sense if it uses 80 or 443 but I would like to be sure before fiddling with firewall settings (not my expertise, I easily break stuff xD).Thanks!
0
0
503
Aug ’15
Rotate a Image on Maps
Hi, my Name is Markus and I am working on my first app... What I like to do The user should be able to place an image freely on the map. The Image must scale in real world dimension. The user also should be able to rotate the image via a slider. What I did so far I guess there are smarter ways to do so but it works so fare. The only missing feature is the rotation functionality. I tried to rotate the UIImage but this results in a cropped image since the MKMapRect (which I need to scale) does not rotate class MapViewController: UIViewController { tt@IBOutlet weak var mapView: MKMapView! ttoverride func viewDidLoad() { ttttsuper.viewDidLoad()tttt ttttmapView.delegate = self // prepare the services/map ... // user can change the orientation via a slider ( 0-2*.pi -> 0-360° ) ttttdraw(orientation: 0) tt} ttfunc draw(orientation: Double) { ttttlet region = mapView.region ttttlet center = region.center ttttlet pointsPerMeter = MKMapPointsPerMeterAtLatitude(center.latitude) tttt// Real-World-Obj
0
0
877
Sep ’20
can one implement voice directions using MapKit? How can I use the same directions as Apple Maps?
I need to be able to offer voice turn by turn directions in my app similar to the one in Apple Maps.Yet nowhere do I find any guidance or recommendation, or any idea of how I should go about it.It would seem that MapKit doesn't do it...or did I miss something in the documentation? I get written turn by turn, but not the fancy approach used in Apple Maps. Do I need to use a specific library?Any information will be greatly appreciated!
0
0
1.2k
May ’17
map function argument type
Here's a little test function:import UIKit func foo() { let views1 = (1...2).map { _ in let v = UIView() return v } let views2 = (1...2).map { _ in return UIView() } } I would expect the two map calls to behave identically. In fact, view2 compiles fine; but I get this error on view1:error: cannot invoke 'map' with an argument list of type '(@noescape (Int) throws -> _)' let views1 = (1...2).map { _ in ^ note: expected an argument list of type '(@noescape (Self.Generator.Element) throws -> T)' let views1 = (1...2).map { _ in ^ Can anyone tell me what is going on?Thanks.
2
0
964
Mar ’16
Which API can I use to run my app on a locked iOS device in full screen like Apple Maps?
The iOS Maps app from Apple runs in full screen on a locked iPhone.Which iOS API should be used to achieve similar results? (i.e. the user experience on a locked iOS device for Apple Maps is incredible.)The Apple Maps app runs full screen when iPhone is locked: e.g. this screenshot was taken on a locked iPhone:https://i.stack.imgur.com/bc6Hw.jpgiOS has Widgets (e.g. https://developer.apple.com/design/human-interface-guidelines/ios/extensions/widgets/ but somehow the Apple Maps app appears to run not constrained by the widget container, in full screen on a locked iPhone.I have not seen any other apps with the same behaviour (e.g. Google Maps is using a typical widget on a locked screen which looks very different: not full screen but constrained by the frame of the widget)Thank you.
0
0
563
Aug ’19
Add custom map on an mapbox
Hi,I have a problem i use a mapbox map and 4 customs mapmy principap map is mapView is first addmport Mapbox class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let mapView = MGLMapView(frame: view.bounds) mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight] mapView.setCenter(CLLocationCoordinate2D(latitude: 40.74699, longitude: -73.98742), zoomLevel: 9, animated: false) view.addSubview(mapView) }}and i insert customs map with mapView.addSubview(layerView) layerView = MGLMapView(frame: view.bounds) layerView.styleURL = URL(string: styleMapboxView)! layerView.autoresizingMask = [.flexibleWidth, .flexibleHeight] layerView.setCenter(localisationCenterMap, zoomLevel: zoomLevelMap, direction : directionMap, animated: false) layerView.tag = layerMapbox layerView.delegate = self mapView.addSubview(layerView)The problem is the last layer used for gesture , and mapView not translate (only front last map)Normally i insert my LayerView in
1
0
1.5k
Dec ’18
Lack of Guides and API descriptions in Documentation
I feel sorry for developers to the Apple platforms these days. They will never know how good Apple's Developer documentation once was.A decade ago, it was truly a pleasure to read about how to build things with Apple's OSes. There were well written guides on each subsystem that told the developer how the subsystem worked and how to solve common problems in code using the subsystem. And the reference documentation actually documented every API. None of this no overview available crap when you click on an api.These days developers are stuck searching StackOverflow, wasting an hour watching a WWDC video in the hopes that it might talk about the api that you need (thankfully they are at least searchable now, so you can at least quickly find out that they almost never contain the answer that you are looking for), or asking on dev forums in the hopes that someone might answer in a reasonable time.These are all fine _additional_ aids in development, but good guides and co
5
0
1.9k
Jul ’19
Can I open a link to google maps ?
Hi,I am making an app which shows places of interest within a given radius from the user's current location. I wish to plot a route between these two locations on a MKMapView. I tried using the MKDirections class but I always get an error Cannot determine route (or something similar). On researching a bit I found out that this was because Apple does not provide directions support in my country, India. As a workaround, I am using the following code to open Google Maps in the browser.let url = NSURL(string: http://maps.google.com/maps?saddr=(sourceLocation.latitude),(sourceLocation.longitude)&daddr=(destinationLocation.latitude),(destinationLocation.longitude))UIApplication.sharedApplication().openURL(url)So my question is, is this allowed? Can my app get rejected for using google maps?
0
0
381
Jun ’16
Why no Dictionary to Dictionary map?
Many types can be mapped over, for example: Array, Dictionary and Optional.Other examples could be Result, Future and Signal, and all kinds of list- and tree data structures. It's clear that there are a lot of types for which it makes sense to have map defined.Let's call all such types Mappable types. Any Mappable type can be seen as a type that is wrapping another type:Arrays are wrapping their Element type,Optionals are wrapping their Wrapped type,Dictionaries are wrapping their Element = (Key, Value) type, and so on.Calling the map method of such a Mappable (wrapping) type simply means that we are applying a transform to its wrapped value(s) and get another instance of the same Mappable type back, now wrapping the new (transformed) value(s) which might be of the same or a new wrapped type. But note that the Mappable (wrapping) type itself is the same.Put more succinctly:Using a map(transform: T -> U) on an Array<T> produces an Array<U>Using a map(
9
0
1.1k
Sep ’15
Xcode error: Missing target with GUID
I have been getting the following error intermittently (once it happens, then its consistent) when I try to build my app Showing Recent Errors Only Unable to resolve build file: BuildFile (The workspace has a reference to a missing target with GUID '0c7e19da3805e0a412c717704d4549fc25560b498add930cbef9623bd9afb53a') There have been no changes to my project (git status is clean). I have tried cleaning DerivedData as well, but it did not help. How am I supposed to figure out from the GUID what is it that xcode is trying to find?
Replies
0
Boosts
0
Views
84
Activity
Mar ’26
iOS Maps internet port?
Hello people,I'm trying to find out which port is used by MapKit / iOS maps. My application runs behind a VPN connection which grants access to a private network but it blocks evreything else. I still need map-functionality however which is also being blocked. What port does Maps use to download things like map tiles and step by step navigation programs.I have checked https://support.apple.com/en-us/HT202944 but Maps is not listed on there. It does make sense if it uses 80 or 443 but I would like to be sure before fiddling with firewall settings (not my expertise, I easily break stuff xD).Thanks!
Replies
0
Boosts
0
Views
503
Activity
Aug ’15
Empty Maps in watchOS simulator
Is there some secret source for getting map tiles showing up in the watchOS simulator? I tried launching Maps on the iOS simulator first, but that didn't change anything.
Replies
1
Boosts
0
Views
1.8k
Activity
Apr ’17
Rotate a Image on Maps
Hi, my Name is Markus and I am working on my first app... What I like to do The user should be able to place an image freely on the map. The Image must scale in real world dimension. The user also should be able to rotate the image via a slider. What I did so far I guess there are smarter ways to do so but it works so fare. The only missing feature is the rotation functionality. I tried to rotate the UIImage but this results in a cropped image since the MKMapRect (which I need to scale) does not rotate class MapViewController: UIViewController { tt@IBOutlet weak var mapView: MKMapView! ttoverride func viewDidLoad() { ttttsuper.viewDidLoad()tttt ttttmapView.delegate = self // prepare the services/map ... // user can change the orientation via a slider ( 0-2*.pi -> 0-360° ) ttttdraw(orientation: 0) tt} ttfunc draw(orientation: Double) { ttttlet region = mapView.region ttttlet center = region.center ttttlet pointsPerMeter = MKMapPointsPerMeterAtLatitude(center.latitude) tttt// Real-World-Obj
Replies
0
Boosts
0
Views
877
Activity
Sep ’20
Running a map on SwiftUI
Hello! Tell me how to properly launch the map and display the user's location? After reading the documentation, I didn't quite understand how to correctly implement the code. Thank!
Replies
1
Boosts
0
Views
2.8k
Activity
Jun ’20
can one implement voice directions using MapKit? How can I use the same directions as Apple Maps?
I need to be able to offer voice turn by turn directions in my app similar to the one in Apple Maps.Yet nowhere do I find any guidance or recommendation, or any idea of how I should go about it.It would seem that MapKit doesn't do it...or did I miss something in the documentation? I get written turn by turn, but not the fancy approach used in Apple Maps. Do I need to use a specific library?Any information will be greatly appreciated!
Replies
0
Boosts
0
Views
1.2k
Activity
May ’17
map function argument type
Here's a little test function:import UIKit func foo() { let views1 = (1...2).map { _ in let v = UIView() return v } let views2 = (1...2).map { _ in return UIView() } } I would expect the two map calls to behave identically. In fact, view2 compiles fine; but I get this error on view1:error: cannot invoke 'map' with an argument list of type '(@noescape (Int) throws -> _)' let views1 = (1...2).map { _ in ^ note: expected an argument list of type '(@noescape (Self.Generator.Element) throws -> T)' let views1 = (1...2).map { _ in ^ Can anyone tell me what is going on?Thanks.
Replies
2
Boosts
0
Views
964
Activity
Mar ’16
How to detect the map zoom level ?
When we are tracking a user using GPS coordinates and displaying it on the app, similar to how uber does for the cabs, we are unable to determine the zoom level for the map. Due to which the map autoresizes for every refresh when ever the map is zoomed in.
Replies
0
Boosts
0
Views
484
Activity
Jan ’16
Which API can I use to run my app on a locked iOS device in full screen like Apple Maps?
The iOS Maps app from Apple runs in full screen on a locked iPhone.Which iOS API should be used to achieve similar results? (i.e. the user experience on a locked iOS device for Apple Maps is incredible.)The Apple Maps app runs full screen when iPhone is locked: e.g. this screenshot was taken on a locked iPhone:https://i.stack.imgur.com/bc6Hw.jpgiOS has Widgets (e.g. https://developer.apple.com/design/human-interface-guidelines/ios/extensions/widgets/ but somehow the Apple Maps app appears to run not constrained by the widget container, in full screen on a locked iPhone.I have not seen any other apps with the same behaviour (e.g. Google Maps is using a typical widget on a locked screen which looks very different: not full screen but constrained by the frame of the widget)Thank you.
Replies
0
Boosts
0
Views
563
Activity
Aug ’19
Add custom map on an mapbox
Hi,I have a problem i use a mapbox map and 4 customs mapmy principap map is mapView is first addmport Mapbox class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let mapView = MGLMapView(frame: view.bounds) mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight] mapView.setCenter(CLLocationCoordinate2D(latitude: 40.74699, longitude: -73.98742), zoomLevel: 9, animated: false) view.addSubview(mapView) }}and i insert customs map with mapView.addSubview(layerView) layerView = MGLMapView(frame: view.bounds) layerView.styleURL = URL(string: styleMapboxView)! layerView.autoresizingMask = [.flexibleWidth, .flexibleHeight] layerView.setCenter(localisationCenterMap, zoomLevel: zoomLevelMap, direction : directionMap, animated: false) layerView.tag = layerMapbox layerView.delegate = self mapView.addSubview(layerView)The problem is the last layer used for gesture , and mapView not translate (only front last map)Normally i insert my LayerView in
Replies
1
Boosts
0
Views
1.5k
Activity
Dec ’18
Lack of Guides and API descriptions in Documentation
I feel sorry for developers to the Apple platforms these days. They will never know how good Apple's Developer documentation once was.A decade ago, it was truly a pleasure to read about how to build things with Apple's OSes. There were well written guides on each subsystem that told the developer how the subsystem worked and how to solve common problems in code using the subsystem. And the reference documentation actually documented every API. None of this no overview available crap when you click on an api.These days developers are stuck searching StackOverflow, wasting an hour watching a WWDC video in the hopes that it might talk about the api that you need (thankfully they are at least searchable now, so you can at least quickly find out that they almost never contain the answer that you are looking for), or asking on dev forums in the hopes that someone might answer in a reasonable time.These are all fine _additional_ aids in development, but good guides and co
Replies
5
Boosts
0
Views
1.9k
Activity
Jul ’19
Using Camera for Mapping
Hi, I am looking for a way to take advantage of a user's camera in order to create a 3d map. Are there any API's, Frameworks, or kits that could help me with this? Similar to 'Project Tango' in google.
Replies
1
Boosts
0
Views
260
Activity
Jul ’16
Can I open a link to google maps ?
Hi,I am making an app which shows places of interest within a given radius from the user's current location. I wish to plot a route between these two locations on a MKMapView. I tried using the MKDirections class but I always get an error Cannot determine route (or something similar). On researching a bit I found out that this was because Apple does not provide directions support in my country, India. As a workaround, I am using the following code to open Google Maps in the browser.let url = NSURL(string: http://maps.google.com/maps?saddr=(sourceLocation.latitude),(sourceLocation.longitude)&daddr=(destinationLocation.latitude),(destinationLocation.longitude))UIApplication.sharedApplication().openURL(url)So my question is, is this allowed? Can my app get rejected for using google maps?
Replies
0
Boosts
0
Views
381
Activity
Jun ’16
Maps are not shown in Simulator
Hi folks,I cannot use aps in simulator. Not in my own app and not in Maps App. If I try to search a destination in Maps App I get an Map server not available error message. Any suggestions ?Best regardsAxel
Replies
0
Boosts
0
Views
306
Activity
Jul ’15
Why no Dictionary to Dictionary map?
Many types can be mapped over, for example: Array, Dictionary and Optional.Other examples could be Result, Future and Signal, and all kinds of list- and tree data structures. It's clear that there are a lot of types for which it makes sense to have map defined.Let's call all such types Mappable types. Any Mappable type can be seen as a type that is wrapping another type:Arrays are wrapping their Element type,Optionals are wrapping their Wrapped type,Dictionaries are wrapping their Element = (Key, Value) type, and so on.Calling the map method of such a Mappable (wrapping) type simply means that we are applying a transform to its wrapped value(s) and get another instance of the same Mappable type back, now wrapping the new (transformed) value(s) which might be of the same or a new wrapped type. But note that the Mappable (wrapping) type itself is the same.Put more succinctly:Using a map(transform: T -> U) on an Array<T> produces an Array<U>Using a map(
Replies
9
Boosts
0
Views
1.1k
Activity
Sep ’15