Search results for

“Apple Maps Guides”

155,810 results found

Post

Replies

Boosts

Views

Activity

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.8k
Jul ’19
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
481
Oct ’20
"Safe Area" layout guide
I use AutoLayout, but I prefer not to use storyboards. Instead, I generally create independent view controllers with their own XIB files.Also, I don't like using UITableViewController and UICollectionViewController. Instead, I prefer to add table views and collection views manually to my XIB files.Will the new Safe Area layout guide be available to me using these techniques? Or will I need to write my own code to adjust things for the iPhone X?Thanks,Frank
3
0
3.5k
Sep ’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
933
Mar ’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
1
0
1.5k
Dec ’18
Map region on Universal application
Hello.I have an application with two storyboards (one for iPad and one for iPhone). I use the following to set the map area: -(void) viewWillAppear:(BOOL)animated { ... [self.mapView removeAnnotations:self.mapView.annotations]; self.mapLocations = [[NSMutableArray alloc]init]; self.showMapRect = MKMapRectNull; [self addAnnotation]; [self.mapView setVisibleMapRect:self.showMapRect edgePadding:UIEdgeInsetsMake(30, 30, 30, 30) animated:YES]; } -(void) addAnnotation { CLLocationCoordinate2D mapLocation; IGAMapAnnotation *mapAnnotation; // If a set of coordinates is empty, it will have an empty object @. // This object must be removed from the array, otherwise it will be an error. // In order not to change the original array, we create a copy NSMutableArray *coordinatesTempArray = [[NSMutableArray alloc]initWithArray:self.coordinatesArray copyItems:YES]; [coordinatesTempArray removeObject:@]; // Calculate how many points are included in the final flightplan NSInteger numberOfPoints = [coordinatesTempArray
5
0
464
Aug ’15
Google maps with beta 18
Having multiple issues with google maps via wireless apply car play. 1.: maps freezing 2.:The direction I’m heading seems to be off and searching some times 3.: The most annoying, the audio doesn’t work when I’m using google maps for a trip.
1
0
374
Dec ’24
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
Reply to RealityKit PyshicallyBaseMaterial Displacement
Glad to hear you are using our new APIs! Unfortunately, displacement mapping is not supported within RealityKit. However, I did find a feature request for this in our internal issue tracking system, so the team is aware of the request. The good news is that you might be able to implement displacement mapping yourself using the CustomMaterial APIs. Additionally, I would encourage you to file a feature request on Feedback Assistant for this feature, and provide a bit of info about your use case. This helps us determine demand for particular features and help guide our feature planning for future OS releases.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Oct ’21
Bluetooth MAP Behavior with iPhone.
I am reaching out to you to seek a few clarifications on iPhone behavior w.r.t BR/EDR MAP implementation. We have our MAP MCE implementation and trying to connect with iPhone for MAP Service. Following are the observations: After pairing one should enable 'Notification' tab corresponding to the paired device in iPhone setting. If we don’t enable the Notification, the iPhone will disconnect immediately (This behavior seems specific to iPhone). Example: iPhone Setting -> Go to paired device menu -> Enable Notification. Once the 'Notifications' is enabled and after MAP connection, following are the observation: By default, iPhone will always send following 'message_list_count' as a response for 'GetMessageListing' procedure. message_list_count = 10 from 'inbox' message_list_count = 0 from 'sent' message_list_count = 0 from 'outbox' message_list_count = 0 from 'deleted' Now, with Active MAP connection between iPhone(MAP MSE) & DUT(MAP MCE).
1
0
1.2k
Jun ’23
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.8k
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
250
Activity
Jul ’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
481
Activity
Oct ’20
"Safe Area" layout guide
I use AutoLayout, but I prefer not to use storyboards. Instead, I generally create independent view controllers with their own XIB files.Also, I don't like using UITableViewController and UICollectionViewController. Instead, I prefer to add table views and collection views manually to my XIB files.Will the new Safe Area layout guide be available to me using these techniques? Or will I need to write my own code to adjust things for the iPhone X?Thanks,Frank
Replies
3
Boosts
0
Views
3.5k
Activity
Sep ’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
933
Activity
Mar ’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
Map region on Universal application
Hello.I have an application with two storyboards (one for iPad and one for iPhone). I use the following to set the map area: -(void) viewWillAppear:(BOOL)animated { ... [self.mapView removeAnnotations:self.mapView.annotations]; self.mapLocations = [[NSMutableArray alloc]init]; self.showMapRect = MKMapRectNull; [self addAnnotation]; [self.mapView setVisibleMapRect:self.showMapRect edgePadding:UIEdgeInsetsMake(30, 30, 30, 30) animated:YES]; } -(void) addAnnotation { CLLocationCoordinate2D mapLocation; IGAMapAnnotation *mapAnnotation; // If a set of coordinates is empty, it will have an empty object @. // This object must be removed from the array, otherwise it will be an error. // In order not to change the original array, we create a copy NSMutableArray *coordinatesTempArray = [[NSMutableArray alloc]initWithArray:self.coordinatesArray copyItems:YES]; [coordinatesTempArray removeObject:@]; // Calculate how many points are included in the final flightplan NSInteger numberOfPoints = [coordinatesTempArray
Replies
5
Boosts
0
Views
464
Activity
Aug ’15
Google maps with beta 18
Having multiple issues with google maps via wireless apply car play. 1.: maps freezing 2.:The direction I’m heading seems to be off and searching some times 3.: The most annoying, the audio doesn’t work when I’m using google maps for a trip.
Replies
1
Boosts
0
Views
374
Activity
Dec ’24
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
Reply to RealityKit PyshicallyBaseMaterial Displacement
Glad to hear you are using our new APIs! Unfortunately, displacement mapping is not supported within RealityKit. However, I did find a feature request for this in our internal issue tracking system, so the team is aware of the request. The good news is that you might be able to implement displacement mapping yourself using the CustomMaterial APIs. Additionally, I would encourage you to file a feature request on Feedback Assistant for this feature, and provide a bit of info about your use case. This helps us determine demand for particular features and help guide our feature planning for future OS releases.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
example of map extensions
Hi,I might have misunderstood but I thought it is possible to create extensions to the native map application in ios 10.Did I misunderstand?If not, can anybody send me a link to an example?Thanks so much,yasmin
Replies
0
Boosts
0
Views
335
Activity
Jul ’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
304
Activity
Jul ’15
Bluetooth MAP Behavior with iPhone.
I am reaching out to you to seek a few clarifications on iPhone behavior w.r.t BR/EDR MAP implementation. We have our MAP MCE implementation and trying to connect with iPhone for MAP Service. Following are the observations: After pairing one should enable 'Notification' tab corresponding to the paired device in iPhone setting. If we don’t enable the Notification, the iPhone will disconnect immediately (This behavior seems specific to iPhone). Example: iPhone Setting -> Go to paired device menu -> Enable Notification. Once the 'Notifications' is enabled and after MAP connection, following are the observation: By default, iPhone will always send following 'message_list_count' as a response for 'GetMessageListing' procedure. message_list_count = 10 from 'inbox' message_list_count = 0 from 'sent' message_list_count = 0 from 'outbox' message_list_count = 0 from 'deleted' Now, with Active MAP connection between iPhone(MAP MSE) & DUT(MAP MCE).
Replies
1
Boosts
0
Views
1.2k
Activity
Jun ’23
Map not responding after adding UISheetPresentationController
Hi everyone, I'm basically trying to copy Apple Maps for learning purposes. I've added the map but with Mapbox. I've also created UISheetPresentationController on top of this map but the map is not responding my touches. What variables do I need to override or activate to be able to interact with map and buttons on it?
Replies
0
Boosts
0
Views
670
Activity
May ’23
Display the real 3D map through model3d
In the apple map of some areas, there will be a very realistic real-life 3D map. And now I want to call it through 3d in visionOS (like model3d). How can I call it? Note: What I ask for is not to have an effect similar to 3d on a flat screen like in iOS, but to display the USDZ model in visionOS.
Replies
1
Boosts
0
Views
849
Activity
Jul ’24