Search results for

“Apple Maps Guides”

159,851 results found

Post

Replies

Boosts

Views

Activity

500 Internal Errors for map "shield" resources
I've noticed a load of 500 errors in my web inspector when viewing maps - it's trying to load /md/v1/shield? from the CDN. Interestingly, it only seems to happen on UK and Ireland maps. Other countries don't even seem to try accessing these resources; but if you look at a map for UK or Ireland, then you will see dozens of failed requests for these shield resources. I don't think it's anything to do with my implementation, as I can replicate it when looking at one of Apple's example maps and repositioning to view the UK. Does anyone know why these shield resources are only used for the UK? And why they're not working?
1
0
877
Mar ’22
Reply to How to provide directions with app in iOS
There are a lot of condtions for app appearing as providing a service to the user to help guide him from A -> BNotably :To register your app as a directions provider:Configure your app to accept directions requests and declare a document type to handle incoming routing requests.Declare the map regions that your app supports using a geographic coverage file (specified using a GeoJSON file).Process direction request URLs when they are sent to your app.Did you check you did everything described in the document ?
Nov ’18
Vector displacement map - settings to bake VDMs from Zbrush
Goal: Bake Vector Displacement in Zbrush Render in Scenekit/MetalProcess:Im using this Zbrush diagnostic file, to know proper settings for baking: http://docs.pixologic.com/user-guide/3d-modeling/exporting-your-model/vector-displacement-maps/Result:When rendered in Scenekit, I found no “perfect sphere” and you can see on images attached.Does anyone know correct settings for VDM in Scenekit?
0
0
1k
Mar ’19
Stalling when panning/zooming map
I have an app that shows where busses are on their routes. Many times when panning around or trying to zoom in or out the app stalls. When location manager makes a call to didUpdateLocations, I reload the map with the possible change in the bus location. To get the change information I have to use NSURL to grab an xml file and parse it for bus route name, gps data, etc. Is this nsurl call blocking the app? Is there a way to put this call on a different thread so it is not blocking the pan/zoom actions on the map?Is there a better forum to ask this question?Thanks
3
0
411
Aug ’15
Center Map in SwiftUI to specific latitude and longitude.
I have a Map in SwiftUI using MapKit and the map has several annotations and MapCircles added to it. I need to have the ability to center the map on a specific latitude and longitude. The issue is that the map instead is centering so that all annotations and MapCircles etc. are visible. How can I have it disregard items added to the map and center the map at a specific latitude and longitude and ideally, control the zoom level of the map also?
1
0
591
Nov ’24
Reply to CoreML - Label presented as random string
The labels are stored in your mlmodel file. If you open the mlmodel in Xcode 12, it will display what those labels are. My guess is that instead of actual labels, your mlmodel contains CICAgICAwPmveRIJQWdsYWlzX2lv and so on. If that is the case, you can make a dictionary in the app that maps CICAgICAwPmveRIJQWdsYWlzX2lv and so on to the real labels, or you can replace these labels inside the mlmodel file by editing it using coremltools. (My e-book Core ML Survival Guide has a chapter on how to replace the labels in the model.)
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Sep ’20
How do you get a map view in watchOS 2.0?
So MKMapViewDelegate is no longer supported in watchOS 2. How, then, do I retrieve a map view to show in my watch app? Currently map is still supported as a drag-and-drop object in watchkit IB, but if you can't have a MKMapViewDelegate, nor import MapKit it seems like this is a useless object. Do you have to use WCSession to manage this? If so, how? I've been scouring around and have found nothing so far on how to show a live (updating) map view on the watch as of version 2.Thanks for the help!
13
0
4.2k
Jun ’15
ios10 beta map controls
In iOS10 beta 2, the Map app uses a view controller that has three sizes (I'll refer to them as minmized, compact, and expanded) and supports a handle. Pull up on the handle when in compact mode and the view expands over the mapView and dims it. Pull down and the background view is slowly undimmed until you get to the compact size. Keep pulling down and the view is then minimized with just the search bar. A great look for the app I am working on.I am looking to use the system framework that does this or replicate it. Does anyone know if this is offered to developers to use? I cannot figure out what Apple used to support this. Any pointers would be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
240
Jul ’16
Deleting memory mapped file
Does NSData dataWithContentsOfFile/initWithContentsOfFile with NSDataReadingMappedIfSafe always use mmap(2) which guards against the file being unlinked while it is mapped?I've created an NSData instance using - initWithContentsOfFile:options:error: with options = NSDataReadingMappedIfSafe, on a file in my sandbox Documents folder, deleted the file and continued to read from the NSData instance with no issues. But I can't tell for sure if this will always be the case. It seems that on iOS one should always be able to rely on mmap(2) behavior since the Documents folder is pretty much always there.Can someone from Apple comment? Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
456
Jan ’16
XCode MapKit. MKPolyline is not displayed on the map when there is no mobile connection and the map data is not available
I am developing applications for recording routes using MapKit. I use the following code to display the saved route on the map: let polyline = MKPolyline(coordinates: coordinates, count: coordinates.count) polyline.title = title polyline.subtitle = subtitle mapView.addOverlays([polyline]) Everything works fine when the device has an Internet connection and the map data is available and downloaded. However, when there is no connection, only the current position and annotations are displayed on the map. MKPolyline is displayed only on the part of the map for which the data has been loaded (see screenshot). How can this be fixed?
0
0
471
Jul ’21
500 Internal Errors for map "shield" resources
I've noticed a load of 500 errors in my web inspector when viewing maps - it's trying to load /md/v1/shield? from the CDN. Interestingly, it only seems to happen on UK and Ireland maps. Other countries don't even seem to try accessing these resources; but if you look at a map for UK or Ireland, then you will see dozens of failed requests for these shield resources. I don't think it's anything to do with my implementation, as I can replicate it when looking at one of Apple's example maps and repositioning to view the UK. Does anyone know why these shield resources are only used for the UK? And why they're not working?
Replies
1
Boosts
0
Views
877
Activity
Mar ’22
Reply to How to provide directions with app in iOS
There are a lot of condtions for app appearing as providing a service to the user to help guide him from A -> BNotably :To register your app as a directions provider:Configure your app to accept directions requests and declare a document type to handle incoming routing requests.Declare the map regions that your app supports using a geographic coverage file (specified using a GeoJSON file).Process direction request URLs when they are sent to your app.Did you check you did everything described in the document ?
Replies
Boosts
Views
Activity
Nov ’18
Vector displacement map - settings to bake VDMs from Zbrush
Goal: Bake Vector Displacement in Zbrush Render in Scenekit/MetalProcess:Im using this Zbrush diagnostic file, to know proper settings for baking: http://docs.pixologic.com/user-guide/3d-modeling/exporting-your-model/vector-displacement-maps/Result:When rendered in Scenekit, I found no “perfect sphere” and you can see on images attached.Does anyone know correct settings for VDM in Scenekit?
Replies
0
Boosts
0
Views
1k
Activity
Mar ’19
Stalling when panning/zooming map
I have an app that shows where busses are on their routes. Many times when panning around or trying to zoom in or out the app stalls. When location manager makes a call to didUpdateLocations, I reload the map with the possible change in the bus location. To get the change information I have to use NSURL to grab an xml file and parse it for bus route name, gps data, etc. Is this nsurl call blocking the app? Is there a way to put this call on a different thread so it is not blocking the pan/zoom actions on the map?Is there a better forum to ask this question?Thanks
Replies
3
Boosts
0
Views
411
Activity
Aug ’15
Center Map in SwiftUI to specific latitude and longitude.
I have a Map in SwiftUI using MapKit and the map has several annotations and MapCircles added to it. I need to have the ability to center the map on a specific latitude and longitude. The issue is that the map instead is centering so that all annotations and MapCircles etc. are visible. How can I have it disregard items added to the map and center the map at a specific latitude and longitude and ideally, control the zoom level of the map also?
Replies
1
Boosts
0
Views
591
Activity
Nov ’24
Reply to CoreML - Label presented as random string
The labels are stored in your mlmodel file. If you open the mlmodel in Xcode 12, it will display what those labels are. My guess is that instead of actual labels, your mlmodel contains CICAgICAwPmveRIJQWdsYWlzX2lv and so on. If that is the case, you can make a dictionary in the app that maps CICAgICAwPmveRIJQWdsYWlzX2lv and so on to the real labels, or you can replace these labels inside the mlmodel file by editing it using coremltools. (My e-book Core ML Survival Guide has a chapter on how to replace the labels in the model.)
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Sep ’20
Offline vector map in IOS
Hi, how can i add offline vectormap in my IOS app? I need to open any of the following formats: .MAP .OSM or .PBF with using the following styles: CartoCSS, Mapnik or MapsforgeRenderTheme. I want to be able set annotation with some actions.
Replies
0
Boosts
0
Views
252
Activity
Dec ’15
coordinateRegion in map is deprecated in iOS 17.0
what we must to use we need to take the user show on map to take the location and get some data or what we must to do with map is it become only to show our data and the user just move around and see data with MapCameraPosition that heavy work i wish there is another way ? i need to take the cunterly location on map
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’23
Reply to How so I enable Scroll zoom on MapKit JS?
This is frustrating. I started using google maps instead to avoid this issue with the apple mouse. It works as expected and scroll zooms on google maps.
Replies
Boosts
Views
Activity
Feb ’21
How do you get a map view in watchOS 2.0?
So MKMapViewDelegate is no longer supported in watchOS 2. How, then, do I retrieve a map view to show in my watch app? Currently map is still supported as a drag-and-drop object in watchkit IB, but if you can't have a MKMapViewDelegate, nor import MapKit it seems like this is a useless object. Do you have to use WCSession to manage this? If so, how? I've been scouring around and have found nothing so far on how to show a live (updating) map view on the watch as of version 2.Thanks for the help!
Replies
13
Boosts
0
Views
4.2k
Activity
Jun ’15
ios10 beta map controls
In iOS10 beta 2, the Map app uses a view controller that has three sizes (I'll refer to them as minmized, compact, and expanded) and supports a handle. Pull up on the handle when in compact mode and the view expands over the mapView and dims it. Pull down and the background view is slowly undimmed until you get to the compact size. Keep pulling down and the view is then minimized with just the search bar. A great look for the app I am working on.I am looking to use the system framework that does this or replicate it. Does anyone know if this is offered to developers to use? I cannot figure out what Apple used to support this. Any pointers would be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
240
Activity
Jul ’16
Maps/GPS Fully Unstable
Maps, when using GPS for routing, seems fully instable in iOS 11 beta. It tends to crash without warning every 3-4 minutes. Seems unrelated to signal strength.
Replies
0
Boosts
0
Views
441
Activity
Jun ’17
Deleting memory mapped file
Does NSData dataWithContentsOfFile/initWithContentsOfFile with NSDataReadingMappedIfSafe always use mmap(2) which guards against the file being unlinked while it is mapped?I've created an NSData instance using - initWithContentsOfFile:options:error: with options = NSDataReadingMappedIfSafe, on a file in my sandbox Documents folder, deleted the file and continued to read from the NSData instance with no issues. But I can't tell for sure if this will always be the case. It seems that on iOS one should always be able to rely on mmap(2) behavior since the Documents folder is pretty much always there.Can someone from Apple comment? Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
456
Activity
Jan ’16
XCode MapKit. MKPolyline is not displayed on the map when there is no mobile connection and the map data is not available
I am developing applications for recording routes using MapKit. I use the following code to display the saved route on the map: let polyline = MKPolyline(coordinates: coordinates, count: coordinates.count) polyline.title = title polyline.subtitle = subtitle mapView.addOverlays([polyline]) Everything works fine when the device has an Internet connection and the map data is available and downloaded. However, when there is no connection, only the current position and annotations are displayed on the map. MKPolyline is displayed only on the part of the map for which the data has been loaded (see screenshot). How can this be fixed?
Replies
0
Boosts
0
Views
471
Activity
Jul ’21
When will more airports be available on indoor maps?
Several major airports are not part of Indoor Maps - Do you know when ATL, AUS, DFW, MCO, SLC, SAT, SFO, IAD, and DCA will have indoor maps available?
Replies
1
Boosts
0
Views
583
Activity
May ’18