Search results for

“Apple Maps Guides”

155,812 results found

Post

Replies

Boosts

Views

Activity

How to use Map initializers Xcode15
Hello, I'm trying to learn swift and making the Landmarks tutorial I found a problem with the map view. The error read as follow: 'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead. My code is: import MapKit struct MapView: View { @State private var region = MKCoordinateRegion( center: CLLocationCoordinate2D(latitude: 34.011_286, longitude: -116.166_868), span: MKCoordinateSpan(latitudeDelta: 0.2, longitudeDelta: 0.2) ) // The error happens here! var body: some View { Map(coordinateRegion: $region) } } #Preview { MapView() } Any suggestions about hot to solve this will be appreciate it. Thanks, BR Skalex
Topic: Safari & Web SubTopic: General Tags:
3
0
3.0k
Jul ’23
The definitive guide to getting an ERN for the App Store
If your application uses encryption in any way, even SSL or HTTPS, you need an Encryption Registration (ERN) from the US Bureau of Industry (BIS). I recently got one for an app that I got in the Mac App Store and I documented my whole journey to share it and be a guide for other people needing to do the same. It's actually not very hard, as long as you know the steps to take (twice I needed to call US agencies to figure out the next step). Here it is: How to legally submit an app to Apple’s App Store when it uses encryption (or how to obtain an ERN).Enjoy and feel free to ask any questions, I'll try to answer them and/or update the guide to the best of my knowledge. Oh... and disclaimer, I'm not a lawyer and this is not legal advice.
2
0
3.5k
Dec ’15
displacement map specification
Where can I find a specification document of displacement file baked_mesh_disp0.exr obtained from Full Quality result run by Reality Composer Pro? I ran Reality Composer Pro, selected Full Quality and ran Create Model, and obtained *.usdz, which I renamed to *.zip and unzipped. Then I found 5 maps including baked_mesh_disp0.exr and I want to know its data specification.
2
0
823
Jan ’24
Rotate sprite with normal maps
I tried creating a sprite with a normal map; lighting works; however if I rotate the sprite, the lighting doesn't respond.After seeing this; I realize 'duh, my pixels saying +x values still say +x values no matter where I am'So while I understand why it happens, is there anything built into sprite kit to recompute normal maps or the lighting calculation based on sprite rotation, or am I into custom shaders?Thanks,-Michael
4
0
724
Oct ’15
Does Apple have a Maps Geolocation API (look up location by IP address, Wi-Fi and cell tower)?
Hi all,Our project (which incorporates an iOS app) is currently using Google Maps Geolocation REST API to translate Wi-Fi and cell tower data coming from proprietary devices into GPS lat/long coordinates. https://developers.google.com/maps/documentation/geolocation/introFor example, you can look up the location of a Wi-Fi access point based on the following input:{ macAddress: 00:25:9c:cf:1c:ac, signalStrength: -43, age: 0, channel: 11, signalToNoiseRatio: 0}However, this service does not cover all of our customer's locations, particularly when the house has an iPhone only.Does Apple offer an equivalent REST API service, based on Apple Maps?Thanks,Henry
1
0
3.0k
Feb ’18
Maps not tracking movement
Can’t see this as a known issue in the release notes. When in driving / walking directions, Maps does not keep pace with the device’s position, causing Maps to lag behind with turn by turn directions. Sometimes up to 30 seconds passes between the location updating. Anyone else experiencing this issue? iPhone X, 64GB, Dev beta 2.
7
0
2.2k
Jun ’18
"Modern" NSWindow programming guide?
Does anyone know of any good guides or tutorials for NSWindow/NSDocument programming which cover modern API features like tabbing and accessory view controllers?I have an app I'm working on that needs some TLC to really shine with these new features and I'm somewhat at a loss, as the API docs don't really describe how to use these features in combination to achieve anything real.The relevant features of my app that I'm trying to make work:Operates primarily on a Project file which is an NSDocument subclass, and a package of (mostly) opaque internal NSDocument subclassesIndividual files within the Project package can be opened in separate tabs within the same project windowProject windows display a custom titlebar containing relevant controls/information (similar to Xcode or Safari)What I have sort of working is:Open a Project file... I can get the window title bar to show either: the standard proxy-icon/filename of the project filethe name of the current document (but no proxy-icon)Auto-tabbing for o
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1.2k
Dec ’16
iPhone 7plus depth map
Is or will there be a built in feature to generate and access a depth map from the dual cameras on the iPhone 7 plus?We have all seen the Apple key note where they demonstrate how to use the cameras to create a shallow depth effect, but reading the API-reference I can't read more than how to access the raw input from the two cameras.Focus pixels is clearly something else since it is supported by earlier devices.
12
0
3.7k
Sep ’16
Google maps v3 crash
Hello,I've been developing a web app which utilizes the google maps javascript api and the markerwithlabel extension.After a bit of testing I found after having zoomed in on a marker, zooming out using a pinch gesture causes the entire Safari/Chrome tab to crash on an iPad 2 running iOS 8 and 9.Here is the code I used:HTML<div id=maptest/>Javascript$(function () { var map = new google.maps.Map(document.getElementById('maptest'), { zoom: 4, center: new google.maps.LatLng(0, 0), mapTypeId: google.maps.MapTypeId.ROADMAP }); for (var i = 0; i < 10; i++) { var marker = new MarkerWithLabel({ position: new google.maps.LatLng(i, i), map: map, labelContent: A, }); } });Css#maptest { width: 100vw; height: 100vh; }You can check it out in this fiddle:http://jsfiddle.net/mac89/h8w3v7v0/15/The crash seems to only occur when using a label, in this fiddle the crash does not happen:http://jsfiddle.net/mac89/h8w3v7v0/17/Decreasing the size of the map seems to lessen the cha
Topic: Safari & Web SubTopic: General Tags:
2
0
2.0k
Oct ’15
ARKit with map data?
Hi, I've been asked to estimate a project that would require ARKit, unfortunately I'm new to the technology and need some quick answers as to how it works. The app my customer wants to build would overlay simple graphics at street addresses, as the user pointed their camera at buildings or storefronts. For this to work, I'd need to be able to have the AR view tell me what map locations or street addresses are being seen in the camera view. Is this possible? Thanks, Frank
1
0
898
Oct ’21
Reply to MKMapView crash on LandscapeRight
OK, managed to locate the problem (based on some discussions on previous map rotation errors). It was related to a wrong UI constraintSuperview.bottomMargin = mapview.bottom - 6This caused the mapview to get wrong values when rotating to LandscapeRight, and being unable to recover.I fixed it by setting bottom layout guide = mapview bottomI would still call this a bug that should probably be fixed though. Certainly caused me som extra workRegards
Jan ’16
How to highlight the specific POI in the map on scroll
Hello, I have used CPPointOfInterestTemplate for displaying data and as user scrolls using the up/down arrow, I do not see any change in the map. Is there a way to highlight the POIs as the user scrolls through the list? I need to use the map controls and zoom to check the markers on the map. Is it possible to set the zoom level of the map in CarPlay? Pls suggest on the above queries
1
0
141
Apr ’25
Reply to Unable to install BigSur Beta 3
OK I managed to solve the problem by reviving the device following this guide: https://support.apple.com/en-gb/guide/apple-configurator-2/apdebea5be51/mac
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’20
How to use Map initializers Xcode15
Hello, I'm trying to learn swift and making the Landmarks tutorial I found a problem with the map view. The error read as follow: 'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead. My code is: import MapKit struct MapView: View { @State private var region = MKCoordinateRegion( center: CLLocationCoordinate2D(latitude: 34.011_286, longitude: -116.166_868), span: MKCoordinateSpan(latitudeDelta: 0.2, longitudeDelta: 0.2) ) // The error happens here! var body: some View { Map(coordinateRegion: $region) } } #Preview { MapView() } Any suggestions about hot to solve this will be appreciate it. Thanks, BR Skalex
Topic: Safari & Web SubTopic: General Tags:
Replies
3
Boosts
0
Views
3.0k
Activity
Jul ’23
The definitive guide to getting an ERN for the App Store
If your application uses encryption in any way, even SSL or HTTPS, you need an Encryption Registration (ERN) from the US Bureau of Industry (BIS). I recently got one for an app that I got in the Mac App Store and I documented my whole journey to share it and be a guide for other people needing to do the same. It's actually not very hard, as long as you know the steps to take (twice I needed to call US agencies to figure out the next step). Here it is: How to legally submit an app to Apple’s App Store when it uses encryption (or how to obtain an ERN).Enjoy and feel free to ask any questions, I'll try to answer them and/or update the guide to the best of my knowledge. Oh... and disclaimer, I'm not a lawyer and this is not legal advice.
Replies
2
Boosts
0
Views
3.5k
Activity
Dec ’15
displacement map specification
Where can I find a specification document of displacement file baked_mesh_disp0.exr obtained from Full Quality result run by Reality Composer Pro? I ran Reality Composer Pro, selected Full Quality and ran Create Model, and obtained *.usdz, which I renamed to *.zip and unzipped. Then I found 5 maps including baked_mesh_disp0.exr and I want to know its data specification.
Replies
2
Boosts
0
Views
823
Activity
Jan ’24
Rotate sprite with normal maps
I tried creating a sprite with a normal map; lighting works; however if I rotate the sprite, the lighting doesn't respond.After seeing this; I realize 'duh, my pixels saying +x values still say +x values no matter where I am'So while I understand why it happens, is there anything built into sprite kit to recompute normal maps or the lighting calculation based on sprite rotation, or am I into custom shaders?Thanks,-Michael
Replies
4
Boosts
0
Views
724
Activity
Oct ’15
Does Apple have a Maps Geolocation API (look up location by IP address, Wi-Fi and cell tower)?
Hi all,Our project (which incorporates an iOS app) is currently using Google Maps Geolocation REST API to translate Wi-Fi and cell tower data coming from proprietary devices into GPS lat/long coordinates. https://developers.google.com/maps/documentation/geolocation/introFor example, you can look up the location of a Wi-Fi access point based on the following input:{ macAddress: 00:25:9c:cf:1c:ac, signalStrength: -43, age: 0, channel: 11, signalToNoiseRatio: 0}However, this service does not cover all of our customer's locations, particularly when the house has an iPhone only.Does Apple offer an equivalent REST API service, based on Apple Maps?Thanks,Henry
Replies
1
Boosts
0
Views
3.0k
Activity
Feb ’18
Floor humps/bumps mapping
Would ARKit be able to map/identify the depth/height of the humps/bumps in a given surface (E.g: the floor or the top of a table)?
Replies
1
Boosts
0
Views
593
Activity
Jun ’17
Maps not tracking movement
Can’t see this as a known issue in the release notes. When in driving / walking directions, Maps does not keep pace with the device’s position, causing Maps to lag behind with turn by turn directions. Sometimes up to 30 seconds passes between the location updating. Anyone else experiencing this issue? iPhone X, 64GB, Dev beta 2.
Replies
7
Boosts
0
Views
2.2k
Activity
Jun ’18
"Modern" NSWindow programming guide?
Does anyone know of any good guides or tutorials for NSWindow/NSDocument programming which cover modern API features like tabbing and accessory view controllers?I have an app I'm working on that needs some TLC to really shine with these new features and I'm somewhat at a loss, as the API docs don't really describe how to use these features in combination to achieve anything real.The relevant features of my app that I'm trying to make work:Operates primarily on a Project file which is an NSDocument subclass, and a package of (mostly) opaque internal NSDocument subclassesIndividual files within the Project package can be opened in separate tabs within the same project windowProject windows display a custom titlebar containing relevant controls/information (similar to Xcode or Safari)What I have sort of working is:Open a Project file... I can get the window title bar to show either: the standard proxy-icon/filename of the project filethe name of the current document (but no proxy-icon)Auto-tabbing for o
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
2
Boosts
0
Views
1.2k
Activity
Dec ’16
iPhone 7plus depth map
Is or will there be a built in feature to generate and access a depth map from the dual cameras on the iPhone 7 plus?We have all seen the Apple key note where they demonstrate how to use the cameras to create a shallow depth effect, but reading the API-reference I can't read more than how to access the raw input from the two cameras.Focus pixels is clearly something else since it is supported by earlier devices.
Replies
12
Boosts
0
Views
3.7k
Activity
Sep ’16
Google maps v3 crash
Hello,I've been developing a web app which utilizes the google maps javascript api and the markerwithlabel extension.After a bit of testing I found after having zoomed in on a marker, zooming out using a pinch gesture causes the entire Safari/Chrome tab to crash on an iPad 2 running iOS 8 and 9.Here is the code I used:HTML<div id=maptest/>Javascript$(function () { var map = new google.maps.Map(document.getElementById('maptest'), { zoom: 4, center: new google.maps.LatLng(0, 0), mapTypeId: google.maps.MapTypeId.ROADMAP }); for (var i = 0; i < 10; i++) { var marker = new MarkerWithLabel({ position: new google.maps.LatLng(i, i), map: map, labelContent: A, }); } });Css#maptest { width: 100vw; height: 100vh; }You can check it out in this fiddle:http://jsfiddle.net/mac89/h8w3v7v0/15/The crash seems to only occur when using a label, in this fiddle the crash does not happen:http://jsfiddle.net/mac89/h8w3v7v0/17/Decreasing the size of the map seems to lessen the cha
Topic: Safari & Web SubTopic: General Tags:
Replies
2
Boosts
0
Views
2.0k
Activity
Oct ’15
ARKit with map data?
Hi, I've been asked to estimate a project that would require ARKit, unfortunately I'm new to the technology and need some quick answers as to how it works. The app my customer wants to build would overlay simple graphics at street addresses, as the user pointed their camera at buildings or storefronts. For this to work, I'd need to be able to have the AR view tell me what map locations or street addresses are being seen in the camera view. Is this possible? Thanks, Frank
Replies
1
Boosts
0
Views
898
Activity
Oct ’21
Reply to MKMapView crash on LandscapeRight
OK, managed to locate the problem (based on some discussions on previous map rotation errors). It was related to a wrong UI constraintSuperview.bottomMargin = mapview.bottom - 6This caused the mapview to get wrong values when rotating to LandscapeRight, and being unable to recover.I fixed it by setting bottom layout guide = mapview bottomI would still call this a bug that should probably be fixed though. Certainly caused me som extra workRegards
Replies
Boosts
Views
Activity
Jan ’16
How to highlight the specific POI in the map on scroll
Hello, I have used CPPointOfInterestTemplate for displaying data and as user scrolls using the up/down arrow, I do not see any change in the map. Is there a way to highlight the POIs as the user scrolls through the list? I need to use the map controls and zoom to check the markers on the map. Is it possible to set the zoom level of the map in CarPlay? Pls suggest on the above queries
Replies
1
Boosts
0
Views
141
Activity
Apr ’25
Reply to CarPlay - Apple Maps connected with headlights ?
What I mean is, in dark mode, Apple Maps is displayed in light mode in some vehicles and dark mode in some vehicles. I am trying to understand if there is any connection between Apple Maps and some day/night light sensor.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’20