Search results for

“Apple Maps Guides”

163,061 results found

Post

Replies

Boosts

Views

Activity

Swift variable mapping
I'm sure you're heard of this before, but I had a parser in Obj-C for mapping values from a JSON dictionary to an Obj-C class using class_copyPropertyList.Unfortunately this is not compatible with swift. So if i wanted to implement the same code I need to provide a bridging header and ensure that the swift objects are subclasses of NSObjects. It's also not very compatible since it does not support mappings for Enums, Structs or Generic Swift Classes.Win yourselves the heart of the developer community by providing a framework feature for mapping properties directly into any swift class, enum or struct by providing a groundbreaking mapping function! Something flexible that allows developer some control. I was thinking of something along the lines of:WHERE: class SwiftObject { var variableX : Int? } AND: func getJsonDictionary() -> [String:AnyObject]{ return { variableX : 100 } } THEN: let json : [String:AnyObject] = self.getJsonDictionary() print(swiftObject.variableX) //p
0
0
1.1k
Jul ’15
Map Snapshot With WatchOS 2
I know that this is slightly unorthodox, as is is less of a community question and more of a hope that an apple engineer might see this. I would use a Support ticket however they are not allowed for Pre Release software, therefore I am here.I currently have a Watch app on the App Store, The app is an activity tracker for Cycling & Running.I have a feature in the app that allows the user to see a map of there surrounding area.The map is created using a MKMapSnappshotter to create a UIImage onto which I add some overlays showing the users position and a poly line of where they have been.The issue is that now Apple Watch apps are native, the MapKit framework is off limits (With good reason). I therefore moved the snapshot code into the main app and simply requested the Snapshot using the Watch Connectivity Framework which works... but only if the iOS App is running in the foreground.As stated in the documentation the MKMapSnapshotter will only return the image if the app i
2
0
602
Jun ’15
Polylines do not stay on map
When I create a polyline and add it to the map, it will disappear if the map is moved. If I add a polygon or annotation, it remains on the map if the map is moved: const polyline = new mapkit.PolylineOverlay(path, { style: new mapkit.Style({ lineWidth: 5, strokeColor: '#007AFF', lineJoin: 'round', lineCap: 'round' }) }) map.addOverlay(polyline) // disappears if the map moves or zoom changes const polygon = new mapkit.PolygonOverlay(shapes, { style: new mapkit.Style({ fillRule: 'evenodd' }), enabled: false }) map.addOverlay(polygon) // remains on map when map moves or zoom changes Why is it inconsistent? How can I make the polyline stay until I explicitly remove it?
0
0
645
Sep ’24
When will the calendar guide provide swift examples?
I have taught myself swift, but trying to make heads or tails around some of the frameworks has been a challenge. Most of the guides provided by apple are all based on obj-c and resources on the Internet, while growing are still lacking. I know my question won't get an updated document soon, so I ha r started going through learning c to make heads and tails of the framework documents.
2
0
542
Jun ’15
App review rejection on map usage
We request for your kind support, whether it is a previous experience or even a comment will help us a lot! We received rejection for below issue from Apple : ** Guideline 4.0 - Design Your app's location feature is not integrated with the built-in mapping functionality, which limits users to a third-party maps app. Next Steps To resolve this issue, please revise your app to give users the option to launch the native Apple Maps app.** But, our app requires POI(point of interest) on google maps for the service, thus, utilizing apple map's data causes disruption and mismatch of POI data causes issues on business logic (If our app's function was just loading apple map with marker on it, we could solve the issue..) Has anyone faced this rejection issue? We look forward to your kind comment, we are on the verge of going under due to the continuous rejections and errors from app store connect. We are desperate and we request f
0
0
710
Oct ’23
Parked Car in Maps
How is Parked Car triggered in Maps ?Just opened my maps on the iPhone, and found an entry in my favorites called 'parked car'. The previous 3 days running iOS 10, I didn't get this. Today for the first time.I read about this and found the feature pretty cool, but assumed it to be availble only with a CarPlay enabled car. My Mazda CX5 unfortunately has this not (yet) ... so I was surprised to see it. Is there any documentation how this is triggered?ThanksLutz
9
0
4.7k
Jun ’16
How to get a programming guide in a single pdf document ?
I used to download programming guides to get each guide as a single pdf document.I tried today to get new guides, such as File System Programming Guide ; I went to the Mac developer Library (/developer.apple.com/ library/mac/navigation/), found the guide in the list and opened it. I can browse through the document, but cannot find anymore the download as pdf button.Am I looking in the wrong place ? Or has the capabilioty been cancelled ?
2
0
1.4k
Feb ’16
Mapping over a tuple
I currently have code that looks like this: let pxLeft = abs(left.spec.pixelsForDimension(left.dimension, imageSize: size)) let pxRight = abs(right.spec.pixelsForDimension(right.dimension, imageSize: size)) let pxTop = abs(top.spec.pixelsForDimension(top.dimension, imageSize: size)) let pxBottom = abs(bottom.spec.pixelsForDimension(bottom.dimension, imageSize: size))It's crying our for factorisation, and I'd really love to be able to do this:let (pxLeft, pxRight, pxTop, pxBottom) = (left, right, top, bottom).map { $0.left.spec.pixelsForDimension($0.dimension, imageSize: size) }But I can't, since I can't map over a tuple.Is there a Swifty solution for this sort of thing?
5
0
2.8k
Jun ’15
Callouts in Map Marker
Hi, does anyone have some short code to display a marker with callout? There simply is no updated documentation of it. They are either using old names or I just have not found any tutorial of it. I only found about MapMarker, but then it only shows a pin. on the map and no callout is possible. This is what I have Map(coordinateRegion: $mapRegion, showsUserLocation: true, annotationItems: markers) { marker in marker.location } Where marker.location is MarkerMap. So it displays a pin correctly, but how to add a callout and link to it? There are so many different names that start with MK. I am not sure if those are the latest. I figure MapAnnotation, MapMarker to name a few are the latest ones.
1
0
1.7k
Oct ’22
Linker Map Compiler Option?
I am working in a multi platform app that relies on configuration scripts. For most platforms I can export the linker Map using the flag -Wl, -Map, file.map or -Wl, -Map=file.com When building through XCode 8, I get an error that -Map is an invalid option. XCode itself supports exporting linker maps in the project settings, so I know the capability is there, but I can't find any documentation anywhere on what the correct option to use is. What invisible flag is XCode setting when you enable exporting a map and assigning a path? What is the correct option to use to enable that from outside of the IDE through scripts or config files? Thanks in advance.
0
0
906
May ’17
Attaching depth map manually
Hi, I have a problem when I want to attach my grayscale depth map image into the real image. The produced depth map doesn't have the cameraCalibration value which should responsible to align the depth data to the image. How do I align the depth map? I saw an article about it but it is not really detailed so I might be missing some process. I tried to: convert my depth map into pixel buffer create image destination ref and add the image there. add the auxData (depth map dict) This is the output: There is some black space there and my RGB image colour changes
1
0
702
Feb ’25
Reply to Can I use an NFC on my iPhone to unlock a door?
When you refer to NFC door what do you mean with that? You'd need an Apple Access certified NFC reader at the door - here is a guide on the topic: https://www.getkisi.com/guides/apple-wallet-access
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’24
Swift variable mapping
I'm sure you're heard of this before, but I had a parser in Obj-C for mapping values from a JSON dictionary to an Obj-C class using class_copyPropertyList.Unfortunately this is not compatible with swift. So if i wanted to implement the same code I need to provide a bridging header and ensure that the swift objects are subclasses of NSObjects. It's also not very compatible since it does not support mappings for Enums, Structs or Generic Swift Classes.Win yourselves the heart of the developer community by providing a framework feature for mapping properties directly into any swift class, enum or struct by providing a groundbreaking mapping function! Something flexible that allows developer some control. I was thinking of something along the lines of:WHERE: class SwiftObject { var variableX : Int? } AND: func getJsonDictionary() -> [String:AnyObject]{ return { variableX : 100 } } THEN: let json : [String:AnyObject] = self.getJsonDictionary() print(swiftObject.variableX) //p
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’15
Map Snapshot With WatchOS 2
I know that this is slightly unorthodox, as is is less of a community question and more of a hope that an apple engineer might see this. I would use a Support ticket however they are not allowed for Pre Release software, therefore I am here.I currently have a Watch app on the App Store, The app is an activity tracker for Cycling & Running.I have a feature in the app that allows the user to see a map of there surrounding area.The map is created using a MKMapSnappshotter to create a UIImage onto which I add some overlays showing the users position and a poly line of where they have been.The issue is that now Apple Watch apps are native, the MapKit framework is off limits (With good reason). I therefore moved the snapshot code into the main app and simply requested the Snapshot using the Watch Connectivity Framework which works... but only if the iOS App is running in the foreground.As stated in the documentation the MKMapSnapshotter will only return the image if the app i
Replies
2
Boosts
0
Views
602
Activity
Jun ’15
Polylines do not stay on map
When I create a polyline and add it to the map, it will disappear if the map is moved. If I add a polygon or annotation, it remains on the map if the map is moved: const polyline = new mapkit.PolylineOverlay(path, { style: new mapkit.Style({ lineWidth: 5, strokeColor: '#007AFF', lineJoin: 'round', lineCap: 'round' }) }) map.addOverlay(polyline) // disappears if the map moves or zoom changes const polygon = new mapkit.PolygonOverlay(shapes, { style: new mapkit.Style({ fillRule: 'evenodd' }), enabled: false }) map.addOverlay(polygon) // remains on map when map moves or zoom changes Why is it inconsistent? How can I make the polyline stay until I explicitly remove it?
Replies
0
Boosts
0
Views
645
Activity
Sep ’24
Sirikit for Indoor Map
Can we use Sirikit for routing and way finding for an app that uses Indoor maps for a venue like airport, malls ?
Replies
0
Boosts
0
Views
312
Activity
Jun ’16
When will the calendar guide provide swift examples?
I have taught myself swift, but trying to make heads or tails around some of the frameworks has been a challenge. Most of the guides provided by apple are all based on obj-c and resources on the Internet, while growing are still lacking. I know my question won't get an updated document soon, so I ha r started going through learning c to make heads and tails of the framework documents.
Replies
2
Boosts
0
Views
542
Activity
Jun ’15
Not able to create map id
I'm following: https://developer.apple.com/documentation/applemapsserverapi/creating-a-maps-identifier-and-a-private-key#Create-a-Maps-ID to create map id and private key. On step #4 I can't find Maps IDs checkbox on the web page, blow is the screen capture which contains all options I have on my page:
Replies
3
Boosts
0
Views
723
Activity
Jan ’25
App review rejection on map usage
We request for your kind support, whether it is a previous experience or even a comment will help us a lot! We received rejection for below issue from Apple : ** Guideline 4.0 - Design Your app's location feature is not integrated with the built-in mapping functionality, which limits users to a third-party maps app. Next Steps To resolve this issue, please revise your app to give users the option to launch the native Apple Maps app.** But, our app requires POI(point of interest) on google maps for the service, thus, utilizing apple map's data causes disruption and mismatch of POI data causes issues on business logic (If our app's function was just loading apple map with marker on it, we could solve the issue..) Has anyone faced this rejection issue? We look forward to your kind comment, we are on the verge of going under due to the continuous rejections and errors from app store connect. We are desperate and we request f
Replies
0
Boosts
0
Views
710
Activity
Oct ’23
Parked Car in Maps
How is Parked Car triggered in Maps ?Just opened my maps on the iPhone, and found an entry in my favorites called 'parked car'. The previous 3 days running iOS 10, I didn't get this. Today for the first time.I read about this and found the feature pretty cool, but assumed it to be availble only with a CarPlay enabled car. My Mazda CX5 unfortunately has this not (yet) ... so I was surprised to see it. Is there any documentation how this is triggered?ThanksLutz
Replies
9
Boosts
0
Views
4.7k
Activity
Jun ’16
How to get a programming guide in a single pdf document ?
I used to download programming guides to get each guide as a single pdf document.I tried today to get new guides, such as File System Programming Guide ; I went to the Mac developer Library (/developer.apple.com/ library/mac/navigation/), found the guide in the list and opened it. I can browse through the document, but cannot find anymore the download as pdf button.Am I looking in the wrong place ? Or has the capabilioty been cancelled ?
Replies
2
Boosts
0
Views
1.4k
Activity
Feb ’16
Mapping over a tuple
I currently have code that looks like this: let pxLeft = abs(left.spec.pixelsForDimension(left.dimension, imageSize: size)) let pxRight = abs(right.spec.pixelsForDimension(right.dimension, imageSize: size)) let pxTop = abs(top.spec.pixelsForDimension(top.dimension, imageSize: size)) let pxBottom = abs(bottom.spec.pixelsForDimension(bottom.dimension, imageSize: size))It's crying our for factorisation, and I'd really love to be able to do this:let (pxLeft, pxRight, pxTop, pxBottom) = (left, right, top, bottom).map { $0.left.spec.pixelsForDimension($0.dimension, imageSize: size) }But I can't, since I can't map over a tuple.Is there a Swifty solution for this sort of thing?
Replies
5
Boosts
0
Views
2.8k
Activity
Jun ’15
Callouts in Map Marker
Hi, does anyone have some short code to display a marker with callout? There simply is no updated documentation of it. They are either using old names or I just have not found any tutorial of it. I only found about MapMarker, but then it only shows a pin. on the map and no callout is possible. This is what I have Map(coordinateRegion: $mapRegion, showsUserLocation: true, annotationItems: markers) { marker in marker.location } Where marker.location is MarkerMap. So it displays a pin correctly, but how to add a callout and link to it? There are so many different names that start with MK. I am not sure if those are the latest. I figure MapAnnotation, MapMarker to name a few are the latest ones.
Replies
1
Boosts
0
Views
1.7k
Activity
Oct ’22
How to show the floor map with route?
How to show the floor map with route in iOS? I'm planning to show the floor map like this,http://i.stack.imgur.com/haMJs.gifIf the user select origin and destination on the floor map, need to show the route between origin and destination. How to achieve and create this floor map with route?Thanks in advance for your valuable idea's.
Replies
0
Boosts
0
Views
272
Activity
Oct ’15
Linker Map Compiler Option?
I am working in a multi platform app that relies on configuration scripts. For most platforms I can export the linker Map using the flag -Wl, -Map, file.map or -Wl, -Map=file.com When building through XCode 8, I get an error that -Map is an invalid option. XCode itself supports exporting linker maps in the project settings, so I know the capability is there, but I can't find any documentation anywhere on what the correct option to use is. What invisible flag is XCode setting when you enable exporting a map and assigning a path? What is the correct option to use to enable that from outside of the IDE through scripts or config files? Thanks in advance.
Replies
0
Boosts
0
Views
906
Activity
May ’17
Attaching depth map manually
Hi, I have a problem when I want to attach my grayscale depth map image into the real image. The produced depth map doesn't have the cameraCalibration value which should responsible to align the depth data to the image. How do I align the depth map? I saw an article about it but it is not really detailed so I might be missing some process. I tried to: convert my depth map into pixel buffer create image destination ref and add the image there. add the auxData (depth map dict) This is the output: There is some black space there and my RGB image colour changes
Replies
1
Boosts
0
Views
702
Activity
Feb ’25