Search results for

“Apple Maps Guides”

159,835 results found

Post

Replies

Boosts

Views

Activity

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
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
875
Sep ’20
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
950
Mar ’16
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
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
560
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
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
378
Jun ’16
Maps not going through NEFilterDataProvider
I've got an NEFilterDataProvider that works on Safari and Mail just fine, but when I open Maps, Maps is able to load tiles without any callbacks in NEFilterDataProvider. Even if I have the NEFilterDataProvider just return return [NEFilterNewFlowVerdict dropVerdict]; Maps is still able to download new tiles, and I see the traffic on the wire. This is on today's current GM macOS (not Big Sur). How do I get callbacks for Maps? And what other Apps are able to bypass NEFilterDataProvider?
1
0
493
Oct ’20
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
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
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
875
Activity
Sep ’20
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
950
Activity
Mar ’16
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
257
Activity
Jul ’16
Enterprise App Store complete guide
Hi all,Where can I find a complete with requirements guide to set up a private App Store for the Enterprise program?Thank you
Replies
3
Boosts
0
Views
713
Activity
Jan ’16
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
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
560
Activity
Aug ’19
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
305
Activity
Jul ’15
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
481
Activity
Jan ’16
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
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
378
Activity
Jun ’16
Maps not going through NEFilterDataProvider
I've got an NEFilterDataProvider that works on Safari and Mail just fine, but when I open Maps, Maps is able to load tiles without any callbacks in NEFilterDataProvider. Even if I have the NEFilterDataProvider just return return [NEFilterNewFlowVerdict dropVerdict]; Maps is still able to download new tiles, and I see the traffic on the wire. This is on today's current GM macOS (not Big Sur). How do I get callbacks for Maps? And what other Apps are able to bypass NEFilterDataProvider?
Replies
1
Boosts
0
Views
493
Activity
Oct ’20
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