Search results for

“Apple Maps Guides”

163,155 results found

Post

Replies

Boosts

Views

Activity

How to set a MTLTexture as an environment map in SceneKit?
I want to set a MTLTexture object as the environment map of a scene, as it seems to be possible according to the documentation. I can set the environment map to be a UIImage with the following code:let roomImage = UIImage(named: room) scene.lightingEnvironment.contents = roomImageThis works and I see the reflection of the image on my metallic objects. I tried converting the image to a MTLTexture and setting it as the environment map with the following code:let roomImage = UIImage(named: room) let loader = MTKTextureLoader(device: MTLCreateSystemDefaultDevice()!) let envMap = try? loader.newTexture(cgImage: (roomImage?.cgImage)!, options: nil) scene.lightingEnvironment.contents = envMapHowever this does not work and I end up with a blank environment map with no reflection on my objects.Also, instead of setting the options as nil, I tried setting the MTKTextureLoader.Option.textureUsage key with every possible value it can get, but that didn't work either.
2
0
967
Dec ’17
SwiftUI - Adjust Map() scale/zoom
Hi, I'm looking through SwiftUI Map for SwiftUI documentation (including IOS17 Beta) for way to adjust Map() scale, or zoom level, while simultaneously showing user's location and heading, for which I'm doing this @State var position = MapCameraPosition = .userLocation(followsHeading: true, fallback: .automatic) Map(position: $position) It does not appear to be possible so am looking for confirmation. Thanks everyone.
3
0
3.9k
Jul ’23
Maps - Siri Watch Face
Hi,Just curious if Maps are working yet in Siri Watch Face for anyone.Don't believe this feature is activated yet, but hoping to confirm.Commute times shown in the Keynote:Time to WorkTime to HomeTime to upcoming Calendar eventsTime to other Significant LocationsThanks!Alec
0
0
515
Jul ’17
Open Layers 3 with Bing Maps
We have an Open Layers 3 (OL3) map on our website, that can have multiple markers on it, with different popups per marker. When this loads on some iOS devices, after the first initial map move by a user, the map freezes, and the page becomes unresponsive. In our best efforts to troubleshoot, tried Chrome and Safari on a device that is experiencing this issue, and both end up with the same result. It doesn't appear to be on everyone's device. Any help on tracking down what might be causing this would be much appreciated.Thanks,Doug
0
0
1k
Mar ’18
Long press gesture on SwiftUI's Map View (watchOS)
Hi there, I’m developing a watchOS app using SwiftUI, and I want to allow users to interact with the map using the panning gesture and also drop waypoints by long pressing anywhere on the map—just like in the built-in Apple Maps app on watchOS, where a long press drops a pin and panning still works seamlessly. However, with SwiftUI’s Map, any attempt to attach a gesture other than .onTapGesture (such as LongPressGesture or DragGesture) seems to block the built-in map interactions, making panning impossible. Is there a supported approach to detect long press gestures anywhere on the map while still allowing all standard map interactions (as seen in Apple Maps on watchOS)? Or is this something only possible with private APIs or internal access? Any guidance or best practices would be greatly appreciated! Thank you!
1
0
227
Jun ’25
IOHIDPostEvent key mapping issue on 10.11.3
We use IOHIDPostEvent to simulate key strokes in our app.There's a key mapping issue on JP 106 keyboard.For SHIFT+2, it should output the character , but on 10.11.3 it outputs @, which is the result of standard 101 keyboard.It looks like a key mapping issue on system api, is there any method to correct it?
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
367
Mar ’16
couldn't open map without gmail account
Hi,I have created a custom map on google maps. I can able to view the map page in safari browser without issue. But once when i click button to show the same custom maps in my google maps App. It says couldn't open mapThe same issue dosent occur once am logged into google account in google Maps App. Is it mandatory to login into google maps to view custom maps in IOS. Kindly confirmThanks
Topic: Safari & Web SubTopic: General Tags:
0
0
909
Aug ’18
Is there any metadata to correct or rectify the depth maps
Using the front Truedepth camera of a fixed-positioned iphone13, I capture the depth map of a static scene through AR Kit and then rectify (undistorted) them using the inverseLensDistortionLookupTable. Without changing the position of camera and the scene, every time that I launch the session, the rendered depth maps are randomly different. Given that I roughly know the ground truth, depending on the launched session, the depth maps are sometimes reasonably accurate and sometimes severely distorted non-linearly (up to 10cm bias), i.e. one side of the depth frame is still accurate other side is off. Is there any solution? or if there is any metadata to correct or rectify the depth maps later on?
0
0
478
Aug ’23
Can I use RWorld map together with roomCaptureView?
Does anybody know if I can use the ARWorld map together with roomCaptureView? So that I can scan and save one Room, then save the data from scan, save the ARWorldmap and then make a new roomCaptureView.captureSession to scan the new room? Right know I am first calling: roomCaptureView?.captureSession.run(configuration: roomCaptureSessionConfig) and then roomCaptureView.captureSession.arSession.run(roomCaptureViewARconfigurationFunc) with the saved ARWorldMap. @IBAction func saveWorldMapAction(_ sender: Any) { roomCaptureView.captureSession.arSession.getCurrentWorldMap { worldMap, error in guard let map = worldMap else { self.worldMapLabel.text = error (error!.localizedDescription) ; return } do { let data = try NSKeyedArchiver.archivedData(withRootObject: map, requiringSecureCoding: true) try data.write(to: self.mapSaveURL, options: [.atomic]) DispatchQueue.main.async { self.loadWordMapButton.isHidden = false self.loadWordMapButton.isEnabled = true self.worldMapLabel.text = Map
0
0
810
Nov ’22
I think the Access Level must follow as Guiding Principle
https://github.com/apple/swift-evolution/pull/2165/files?short_path=c413722#diff-c4137225f01736a83bc207df99b560bc7a8f1a6710b82008e95eac866bfa6032 Sometimes the access level doesn't follow the guiding principle, so I did Pull-Request the swift-evolution on Github, and if you're curious about this, I'd like you to take a look. Please tell me if there is anything wrong. Thank you.
0
0
385
Sep ’23
Open Maps from WebView link
Hi,I need to open Maps from a link within a webview, iOS8 Xcode 7, Swift.It would also even work opening it with Safari or even opening every external URL in Safari. Any help much appreciated.
Replies
1
Boosts
0
Views
1.6k
Activity
Sep ’15
How to set a MTLTexture as an environment map in SceneKit?
I want to set a MTLTexture object as the environment map of a scene, as it seems to be possible according to the documentation. I can set the environment map to be a UIImage with the following code:let roomImage = UIImage(named: room) scene.lightingEnvironment.contents = roomImageThis works and I see the reflection of the image on my metallic objects. I tried converting the image to a MTLTexture and setting it as the environment map with the following code:let roomImage = UIImage(named: room) let loader = MTKTextureLoader(device: MTLCreateSystemDefaultDevice()!) let envMap = try? loader.newTexture(cgImage: (roomImage?.cgImage)!, options: nil) scene.lightingEnvironment.contents = envMapHowever this does not work and I end up with a blank environment map with no reflection on my objects.Also, instead of setting the options as nil, I tried setting the MTKTextureLoader.Option.textureUsage key with every possible value it can get, but that didn't work either.
Replies
2
Boosts
0
Views
967
Activity
Dec ’17
SwiftUI - Adjust Map() scale/zoom
Hi, I'm looking through SwiftUI Map for SwiftUI documentation (including IOS17 Beta) for way to adjust Map() scale, or zoom level, while simultaneously showing user's location and heading, for which I'm doing this @State var position = MapCameraPosition = .userLocation(followsHeading: true, fallback: .automatic) Map(position: $position) It does not appear to be possible so am looking for confirmation. Thanks everyone.
Replies
3
Boosts
0
Views
3.9k
Activity
Jul ’23
Maps - Siri Watch Face
Hi,Just curious if Maps are working yet in Siri Watch Face for anyone.Don't believe this feature is activated yet, but hoping to confirm.Commute times shown in the Keynote:Time to WorkTime to HomeTime to upcoming Calendar eventsTime to other Significant LocationsThanks!Alec
Replies
0
Boosts
0
Views
515
Activity
Jul ’17
Open Layers 3 with Bing Maps
We have an Open Layers 3 (OL3) map on our website, that can have multiple markers on it, with different popups per marker. When this loads on some iOS devices, after the first initial map move by a user, the map freezes, and the page becomes unresponsive. In our best efforts to troubleshoot, tried Chrome and Safari on a device that is experiencing this issue, and both end up with the same result. It doesn't appear to be on everyone's device. Any help on tracking down what might be causing this would be much appreciated.Thanks,Doug
Replies
0
Boosts
0
Views
1k
Activity
Mar ’18
Mapkit JS / Map display
Hello, There are some countries, with political conflicts on borders, does MapKit JS support displaying the map depending on the point of view of the region ? if yes, how technically is done (like adding an attribute region on request params or something else) ? Thanks
Replies
1
Boosts
0
Views
932
Activity
Jul ’24
Long press gesture on SwiftUI's Map View (watchOS)
Hi there, I’m developing a watchOS app using SwiftUI, and I want to allow users to interact with the map using the panning gesture and also drop waypoints by long pressing anywhere on the map—just like in the built-in Apple Maps app on watchOS, where a long press drops a pin and panning still works seamlessly. However, with SwiftUI’s Map, any attempt to attach a gesture other than .onTapGesture (such as LongPressGesture or DragGesture) seems to block the built-in map interactions, making panning impossible. Is there a supported approach to detect long press gestures anywhere on the map while still allowing all standard map interactions (as seen in Apple Maps on watchOS)? Or is this something only possible with private APIs or internal access? Any guidance or best practices would be greatly appreciated! Thank you!
Replies
1
Boosts
0
Views
227
Activity
Jun ’25
IOHIDPostEvent key mapping issue on 10.11.3
We use IOHIDPostEvent to simulate key strokes in our app.There's a key mapping issue on JP 106 keyboard.For SHIFT+2, it should output the character , but on 10.11.3 it outputs @, which is the result of standard 101 keyboard.It looks like a key mapping issue on system api, is there any method to correct it?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
0
Boosts
0
Views
367
Activity
Mar ’16
top/bottom layout guides not working
After changing presentantion styles or preforming push segues, the top and bottom guides are not working as supposed, and views extend over the top and bottom bars. I wonder.. this is expected and we should account for this or is it a bug??
Replies
2
Boosts
0
Views
682
Activity
Aug ’16
Modern Collection Views and Readable Content Guide
Is there a way to opt into readable content guide for modern collection views on iOS 14 with the new list and cell configurations? I can inject the correct values in via the content directionalLayoutMargin but the accessory view still floats out at the edge of the superview.
Replies
2
Boosts
0
Views
2.9k
Activity
May ’21
couldn't open map without gmail account
Hi,I have created a custom map on google maps. I can able to view the map page in safari browser without issue. But once when i click button to show the same custom maps in my google maps App. It says couldn't open mapThe same issue dosent occur once am logged into google account in google Maps App. Is it mandatory to login into google maps to view custom maps in IOS. Kindly confirmThanks
Topic: Safari & Web SubTopic: General Tags:
Replies
0
Boosts
0
Views
909
Activity
Aug ’18
parallax occlusion mapping in RealityKit?
I'm wondering if it's possible to do Parallax Occlusion Mapping in RealityKit? Does RK's metal shader API provide enough? I think it would need to be able to discard fragments and thus can't be run as a deferred pass. Not sure though!
Replies
1
Boosts
0
Views
880
Activity
Oct ’24
Is there any metadata to correct or rectify the depth maps
Using the front Truedepth camera of a fixed-positioned iphone13, I capture the depth map of a static scene through AR Kit and then rectify (undistorted) them using the inverseLensDistortionLookupTable. Without changing the position of camera and the scene, every time that I launch the session, the rendered depth maps are randomly different. Given that I roughly know the ground truth, depending on the launched session, the depth maps are sometimes reasonably accurate and sometimes severely distorted non-linearly (up to 10cm bias), i.e. one side of the depth frame is still accurate other side is off. Is there any solution? or if there is any metadata to correct or rectify the depth maps later on?
Replies
0
Boosts
0
Views
478
Activity
Aug ’23
Can I use RWorld map together with roomCaptureView?
Does anybody know if I can use the ARWorld map together with roomCaptureView? So that I can scan and save one Room, then save the data from scan, save the ARWorldmap and then make a new roomCaptureView.captureSession to scan the new room? Right know I am first calling: roomCaptureView?.captureSession.run(configuration: roomCaptureSessionConfig) and then roomCaptureView.captureSession.arSession.run(roomCaptureViewARconfigurationFunc) with the saved ARWorldMap. @IBAction func saveWorldMapAction(_ sender: Any) { roomCaptureView.captureSession.arSession.getCurrentWorldMap { worldMap, error in guard let map = worldMap else { self.worldMapLabel.text = error (error!.localizedDescription) ; return } do { let data = try NSKeyedArchiver.archivedData(withRootObject: map, requiringSecureCoding: true) try data.write(to: self.mapSaveURL, options: [.atomic]) DispatchQueue.main.async { self.loadWordMapButton.isHidden = false self.loadWordMapButton.isEnabled = true self.worldMapLabel.text = Map
Replies
0
Boosts
0
Views
810
Activity
Nov ’22
I think the Access Level must follow as Guiding Principle
https://github.com/apple/swift-evolution/pull/2165/files?short_path=c413722#diff-c4137225f01736a83bc207df99b560bc7a8f1a6710b82008e95eac866bfa6032 Sometimes the access level doesn't follow the guiding principle, so I did Pull-Request the swift-evolution on Github, and if you're curious about this, I'd like you to take a look. Please tell me if there is anything wrong. Thank you.
Replies
0
Boosts
0
Views
385
Activity
Sep ’23