Search results for

Apple Maps Guides

149,634 results found

Post

Replies

Boosts

Views

Activity

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
892
Mar ’16
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
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
327
Dec ’24
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
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
1k
Sep ’15
Reply to Authentication with next auth library
Did you ever get a fix here? I have also been stuck on this for many weeks. Have followed this guide: https://www.kyle-melton.com/blog/2022-02-how-to-setup-sign-in-with-apple and this older guide: https://www.thesiddd.com/blog/apple-auth to no avail. Would love to collaborate here and come up with a fix. Hopefully then can write a definitive, fool-proof guide on how to fix.
Topic: App & System Services SubTopic: General Tags:
Nov ’22
Maps URL Scheme
I have reviewed this document: https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html.It says:To perform a search, supply a properly encoded URL string as the value of the q parameter. For example:http://maps.apple.com/?q=Mexican+RestaurantHowever, I'm wondering if there are certain keywords that I can enter for the q parameter. What I'm trying to do is display the user's home address. I was hoping that if I ended the URL with ?q=Home it would accomplish what I want, but it just pulls up a Home Depot from another state.Does anyone know of a way to accomplish this? I'm working on the premise that the user has selected their contact card under My Info in the Contacts app, that they have programmed their home address into the contact, and that Maps is able to read that (if I manually type in Home into the search field in Maps, it does suggest my home address as a result).
0
0
3.8k
Sep ’17
Multi Stop Map Optimisation
I am adding Apple Maps using the API to my Apple IOS to show address to be visited. another feature we require is to have the addresses showing in the best order to be able to visit each one in the fastest time. I am wondering if apple allow to upload multiple addresses via a API and the addresses will be optimised and returned back to my app in the fastest order Is there a SDK that will allow this function?
0
0
616
Nov ’23
Google maps in Action Extension
Hello fellas.Im having trouble using Google maps in an action extension on IOS. Im currently writing it in swift 2.2 and i have it working in the Containing app without problems.All possible issues with the API key is checked and this shouldnt be the problem.I load the map just as i do in the containing app, but instead of showing a dot on a map at my location, it shows me this:https://i.stack.imgur.com/6G5ao.pngSo my question is - Is it at all possilbe to use google maps in an Action extension? If so, does anyone have experience whith this issue?I have a question on SO regarding this, you can find it here - http://stackoverflow.com/questions/40997418/where-do-i-set-google-maps-api-key-in-an-action-extension-ios-swiftThanks in advance
0
0
356
Dec ’16
Is there an IPA notation guide for AVSpeechSynthesizer?
I am utilizing macOS and would like to know how to create accurate or alternate pronunciations using AVSpeechSynthesizer. Is there a guide or document that indicates the unicode symbols that are used or accepted for the IPA notation? The only method that I've found is to create or obtain pronunciations is through an iPhone. References: AVSpeechSynthesisIPANotationAttribute https://developer.apple.com/videos/play/wwdc2018/236/?time=424 https://a11y-guidelines.orange.com/en/mobile/ios/wwdc/2018/236/ https://developer.apple.com/documentation/avfaudio/avspeechsynthesisipanotationattribute
0
0
850
Jul ’21
Reply to [MapKit JS] Geocoding restriction?
Found this in the license agreement...“Apple Maps Service” means the mapping platform and Map Data provided by Apple via the MapKit API for iOS version 6 or later and for use by You only in connection with Your Applications, or the mapping platform and Map Data provided by Apple via MapKit JS for use by You only in connection with Your Applications, websites, or web applications.As far as I can tell, as long as I am using the MapKit JS service I am allowed to save and use any data generated by the service that is needed for my application to work.
Feb ’19
Create bike path maps
Good evening, everyone, I hope I'm in the right place. I wanted to ask about the bike maps how you want to score? Google map I know you have an application to work together recording the signal while we're going. It's possible to work with your maps division. I'm asking for a passionate cyclist to work with. Thanks
0
0
263
Jun ’20