Search results for

“Apple Maps Guides”

159,854 results found

Post

Replies

Boosts

Views

Activity

Implementing Map Span in iOS 17
I have a map (iOS 17) that displays the three Apple maps types (standard, hybrid, and imagery). When the hybrid or imagery map is displayed for the first time it is zoomed in to the max and out-of-focus. It appears to be a problem with the span. I would like to set the span to fix this, but I'm not sure if span has a new name or is no longer used. In previous versions of iOS I had a region that defined the span and coordinate center, It appears that this has now been deprecated: let span = MKCoordinateSpan(latitudeDelta: 0.005, longitudeDelta: 0.005) let region = MKCoordinateRegion(center: coordinate, span: span) MapView(region: region, mapType: mapType, coordinate: coordinate) Here is my actual code for display a map (iOS 17): struct DetailView: View { var item: TravelEntries // <-- coordinates arrive from CoreData Transaction @Binding var mapType: Int var coordinate: CLLocationCoordinate2D { CLLocationCoordinate2D( latitude: item.entryLat, longitude: item.entr
2
0
2.2k
Oct ’23
What are the alternatives to allow users to use maps offline?
Hi all,After some research I'm a bit confused with the subject question. Is there a way nowadays to download Apple maps tiles to display the map when user is offline (without data connection)? We are working in an app for backpackers and they are ussualy offline or with some data usage restrictions in your smartphones. Seems to be that the best option is to use http://www.mapbox.com that also provides assistance to reach places through their directions API. Before proceed with this paid solution I really need to discard the change of use MapKit or some alternative to display offline maps. This is my first post on the Apple devs forum so I've been clear. All the information is really welcome. Regards,Hernán
1
0
1.3k
Sep ’15
How to make large "mapped" games? Where user explores a map size larger than screen?
Hello,I am interested in making a game where the user would need to explore a map that would be WAY bigger than the size of the iPhone screen. I'm not exactly sure what this is called or how I would go about googling/researching how to make this work. Could someone please point me in the right direction?Also, I would have many monsters randomly spawned on this large map. I was thinking instead of loading them all the sprites at once it would be best to have variables for their positions and only load the sprites once they have come into the user's view. Am I correct with thinking this?**EDIT** Please note I would like to do this in Sprite Kit if possible!! Or I could change platform if needed, but spritekit is what I have been learning to use as of lately.Thanks,Peter
3
0
770
Jul ’15
Reply to MapView remove polyline overlay, memory leak on IOS 14.2
After a bit more digging, I believe this only affects the simulator. It seems to occur anytime an overlay on a map is rendered. When the map position changes for any reason, e.g. scrolling the map, the leak gets bigger. Obviously this becomes a more significant issue if the map position changes automatically as in Henrivb's case and mine. You can see the leak grow just by rendering one overlay on a map, then moving the map around. I've filed feedback to Apple on this as well.
Apr ’21
Findersync not working on mapped devices.
I want to add context menu items on right click of any folder.I am able to add them using Findersync extension for path /Users/username/anyFolder, but the same is not working for path of mapped devices like /Volumes/path_of_mapped_device.It is working for local user home path but not for any mapped devices/shares connected using go->connect to server.How should I resolve it and get my context menu on mapped shares also.
0
0
143
Nov ’16
MapKit/VectorKit Crash – NSMallocException During Map Rendering
Dear Apple Developer Support Team, We are experiencing a crash in our iOS application that appears to originate within Apple's MapKit/VectorKit framework. Based on the crash logs, the failure occurs during map rendering operations inside VectorKit. The crash stack contains only Apple framework calls and does not include any application business logic methods. Crash Summary: Exception Type: NSMallocException Framework: MapKit / VectorKit Crash Location: VectorKit map rendering pipeline Observed Behavior: Application crashes while rendering map-related data Our analysis indicates that the crash occurs within Apple's native map rendering engine. Since the stack trace does not contain any application-specific code, we are unable to determine whether the issue is caused by framework behavior, an OS/device-specific condition, or a framework-level defect. We would appreciate your assistance in reviewing this issue and advising whether there are
0
0
226
3w
Reply to Unreal Engine 4.27 VR Game on VisionOS
Hi there. Apple Vision Pro is now (recently!) a valid build target for Unreal Engine - but you're going to want to use 5.4 from source and there are a few gotchas you'll have to mind. This quickstart guide should get you most of the way there - just remember to build 5.4 from source (which isn't documented in the guide): https://dev.epicgames.com/community/learning/tutorials/1JWr/unreal-engine-apple-vision-pro-quick-start-guide
Apr ’24
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
964
Dec ’17
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
214
Jun ’25
Control zoom level of map in CPPointOfInterestTemplate
Using iOS 14 and the Parking app category, is it possible to control the zoom level of the map in CPPointOfInterestTemplate? There are cases where certain coordinates don't have parking suggestions in which cases the map is usually zoomed out all the way by the system.
Replies
0
Boosts
0
Views
558
Activity
Oct ’20
Implementing Map Span in iOS 17
I have a map (iOS 17) that displays the three Apple maps types (standard, hybrid, and imagery). When the hybrid or imagery map is displayed for the first time it is zoomed in to the max and out-of-focus. It appears to be a problem with the span. I would like to set the span to fix this, but I'm not sure if span has a new name or is no longer used. In previous versions of iOS I had a region that defined the span and coordinate center, It appears that this has now been deprecated: let span = MKCoordinateSpan(latitudeDelta: 0.005, longitudeDelta: 0.005) let region = MKCoordinateRegion(center: coordinate, span: span) MapView(region: region, mapType: mapType, coordinate: coordinate) Here is my actual code for display a map (iOS 17): struct DetailView: View { var item: TravelEntries // <-- coordinates arrive from CoreData Transaction @Binding var mapType: Int var coordinate: CLLocationCoordinate2D { CLLocationCoordinate2D( latitude: item.entryLat, longitude: item.entr
Replies
2
Boosts
0
Views
2.2k
Activity
Oct ’23
Reply to Stickers App Store
Are external applications not suppose to work yet with maps such as yelp or zomato or is it a bug? The apps don't do what they say they can do with apple maps.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’16
What are the alternatives to allow users to use maps offline?
Hi all,After some research I'm a bit confused with the subject question. Is there a way nowadays to download Apple maps tiles to display the map when user is offline (without data connection)? We are working in an app for backpackers and they are ussualy offline or with some data usage restrictions in your smartphones. Seems to be that the best option is to use http://www.mapbox.com that also provides assistance to reach places through their directions API. Before proceed with this paid solution I really need to discard the change of use MapKit or some alternative to display offline maps. This is my first post on the Apple devs forum so I've been clear. All the information is really welcome. Regards,Hernán
Replies
1
Boosts
0
Views
1.3k
Activity
Sep ’15
Point out a translation problem in the Apple Human Interface Guide (Simplified Chinese)
辅助功能 | Apple Developer Documentation In the illustration on this page related to Prefer system-defined colors, Light is incorrectly translated as 细体. However, in the context of this article, translating it as 浅色 (light color) would be a more appropriate choice.
Replies
1
Boosts
0
Views
100
Activity
Apr ’25
How to make large "mapped" games? Where user explores a map size larger than screen?
Hello,I am interested in making a game where the user would need to explore a map that would be WAY bigger than the size of the iPhone screen. I'm not exactly sure what this is called or how I would go about googling/researching how to make this work. Could someone please point me in the right direction?Also, I would have many monsters randomly spawned on this large map. I was thinking instead of loading them all the sprites at once it would be best to have variables for their positions and only load the sprites once they have come into the user's view. Am I correct with thinking this?**EDIT** Please note I would like to do this in Sprite Kit if possible!! Or I could change platform if needed, but spritekit is what I have been learning to use as of lately.Thanks,Peter
Replies
3
Boosts
0
Views
770
Activity
Jul ’15
Reply to MapView remove polyline overlay, memory leak on IOS 14.2
After a bit more digging, I believe this only affects the simulator. It seems to occur anytime an overlay on a map is rendered. When the map position changes for any reason, e.g. scrolling the map, the leak gets bigger. Obviously this becomes a more significant issue if the map position changes automatically as in Henrivb's case and mine. You can see the leak grow just by rendering one overlay on a map, then moving the map around. I've filed feedback to Apple on this as well.
Replies
Boosts
Views
Activity
Apr ’21
Findersync not working on mapped devices.
I want to add context menu items on right click of any folder.I am able to add them using Findersync extension for path /Users/username/anyFolder, but the same is not working for path of mapped devices like /Volumes/path_of_mapped_device.It is working for local user home path but not for any mapped devices/shares connected using go->connect to server.How should I resolve it and get my context menu on mapped shares also.
Replies
0
Boosts
0
Views
143
Activity
Nov ’16
Is there a way to search out a specific podcast by GUID?
Currently, I have to search by the user account ID via XMLHttpRequest, parse the JSON response for the RSS feed, make another XMLHttpRequest to parse that feed for the specific GUID of the podcast I'm looking for. Is there a way to target that podcast with one XMLHttpRequest call and have it returned as JSON?
Replies
0
Boosts
0
Views
235
Activity
Aug ’20
MapKit/VectorKit Crash – NSMallocException During Map Rendering
Dear Apple Developer Support Team, We are experiencing a crash in our iOS application that appears to originate within Apple's MapKit/VectorKit framework. Based on the crash logs, the failure occurs during map rendering operations inside VectorKit. The crash stack contains only Apple framework calls and does not include any application business logic methods. Crash Summary: Exception Type: NSMallocException Framework: MapKit / VectorKit Crash Location: VectorKit map rendering pipeline Observed Behavior: Application crashes while rendering map-related data Our analysis indicates that the crash occurs within Apple's native map rendering engine. Since the stack trace does not contain any application-specific code, we are unable to determine whether the issue is caused by framework behavior, an OS/device-specific condition, or a framework-level defect. We would appreciate your assistance in reviewing this issue and advising whether there are
Replies
0
Boosts
0
Views
226
Activity
3w
Reply to Unreal Engine 4.27 VR Game on VisionOS
Hi there. Apple Vision Pro is now (recently!) a valid build target for Unreal Engine - but you're going to want to use 5.4 from source and there are a few gotchas you'll have to mind. This quickstart guide should get you most of the way there - just remember to build 5.4 from source (which isn't documented in the guide): https://dev.epicgames.com/community/learning/tutorials/1JWr/unreal-engine-apple-vision-pro-quick-start-guide
Replies
Boosts
Views
Activity
Apr ’24
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
964
Activity
Dec ’17
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
214
Activity
Jun ’25
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
850
Activity
Jul ’24