Search results for

“Apple Maps Guides”

159,851 results found

Post

Replies

Boosts

Views

Activity

Map repositions itself after panning
Hi,I am currently displaying multiple custom Annotations on a map and when i went up to about 250 the map starts lagging.When i pan across the map: no problem. But as soon as the user stops panning the map repositions itself somewhere completely else.I reset the annotations and removedannotationView!.image = UIImage(named: pin)and everything was fine (off course the image was the tipical MapKit-logo but everything else worked out)I am using a MKPointAnnotation class to define specific properties of my Annotations and this function to specify:func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView { guard let annot = annotation as? customAnnotation else {return nil} if annotation is MKUserLocation { return nil } let annotationView = MKAnnotationView(annotation: annotation, reuseIdentifier: customAnnotation) mapView.addAnnotation(annot) annotationView.image = UIImage(named: pin) annotationView.canShowCallout = true annotationView.clustering
6
0
2.4k
Nov ’18
SpriteKit game map architecture
I’m pretty new to SpritKit, and am trying to figure out the best direction to take when creating the maps for a game I’ve started.The maps are track-like... sometimes a road sometimes a tunnel, etc. I‘ve creates two levels so far, and they work great. They are currently giant 5000x5000 pixel images with a matching 5000x5000 pixel mask image overplayed and hidden for the collision detection. Performance is great, works like a charm. However, app size is my concern. The PNGs are pushing 8-10MB, and I fear the game will quickly turn into a needlessly large download as soon as I get a small handful of levels in there. They are very cartoonish and hopefully Xcode compression routines will go a long ways... however, would a tile based setup be better vs. a single monolithic image?Some if these maps have an extreme amount of trees. The level that sparked my concern is a road going through a forest (top down and cartoony 2D). I know that I‘d save tons of space, and have a much smaller app p
2
0
1.7k
Dec ’18
How to add some route marks to maps app through extensions
Hi, is possible to extend maps app through app extensions to add some road marks or something like that when user uses navigation? I want to show some checkmarks on apple maps app when user uses apple maps. Or maybe just to notify users when approaching to some section? If anything from this things is possible than which API to use? I have searched and did not find anything useful expect SiriKit but I think with that API its not possible to achieve this. Thanks Regards
1
0
513
Jul ’20
IOS 9 Apple Maps app - show transport 3rd party apps to find route between 2 location
Hi All,I am developing an App which shows the routes between two location in Mapview and I have an option to navigate from Apple Maps app to my app via Transport apps link.In IOS 8, Maps app show App segment to list out the 3rd party navigation apps but in IOS 9, Maps app changed App to Transport and it show the 3rd party apps only in Share (Top right button) --> Transport Apps button click.Will apple remove the transport apps list in IOS 10 or next version?
0
0
330
Feb ’16
Custom 3D Models on MapKit Map
We currently use MapKit as our map layer for our application. We have 3D models of buildings and other features that we want to overlay and visualize on the map. The issue seems to be that - as far as I can tell - we can only pitch the map to whatever iOS decides is the right pitch for the map, not what our imagery has. So if we wanted to pitch the map even when 3D imagery isn't available it doesn't seem like that is possible. Are there options for us to provide our own 3D models / imagery in MapKit? Or is there something else we should be looking at?
2
0
244
3w
Visible Map Rect
How does one get the same map are to be viewed regardless of screen resolution? I have a full-screen MapView on iPad. Here is how I set the view:#define zoomSize 50MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance([self myLocation], zoomSize, zoomSize);MKCoordinateRegion fittedRegion = [mapView regionThatFits:region];[mapView setRegion:fittedRegion animated:YES];Whether displayed on iPad 2 (1024 x 768) or iPad 3/4/Air/Air2 (2048 x 768), I get a visibleMapRect of 645 x 471. However, the actual area visible for the iPad 3/4/Air/Air2 is twice the area of the iPad2. I'd like them to be the same.
0
0
282
Mar ’17
Map repositions itself after panning
Hi,I am currently displaying multiple custom Annotations on a map and when i went up to about 250 the map starts lagging.When i pan across the map: no problem. But as soon as the user stops panning the map repositions itself somewhere completely else.I reset the annotations and removedannotationView!.image = UIImage(named: pin)and everything was fine (off course the image was the tipical MapKit-logo but everything else worked out)I am using a MKPointAnnotation class to define specific properties of my Annotations and this function to specify:func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView { guard let annot = annotation as? customAnnotation else {return nil} if annotation is MKUserLocation { return nil } let annotationView = MKAnnotationView(annotation: annotation, reuseIdentifier: customAnnotation) mapView.addAnnotation(annot) annotationView.image = UIImage(named: pin) annotationView.canShowCallout = true annotationView.clustering
Replies
6
Boosts
0
Views
2.4k
Activity
Nov ’18
SpriteKit game map architecture
I’m pretty new to SpritKit, and am trying to figure out the best direction to take when creating the maps for a game I’ve started.The maps are track-like... sometimes a road sometimes a tunnel, etc. I‘ve creates two levels so far, and they work great. They are currently giant 5000x5000 pixel images with a matching 5000x5000 pixel mask image overplayed and hidden for the collision detection. Performance is great, works like a charm. However, app size is my concern. The PNGs are pushing 8-10MB, and I fear the game will quickly turn into a needlessly large download as soon as I get a small handful of levels in there. They are very cartoonish and hopefully Xcode compression routines will go a long ways... however, would a tile based setup be better vs. a single monolithic image?Some if these maps have an extreme amount of trees. The level that sparked my concern is a road going through a forest (top down and cartoony 2D). I know that I‘d save tons of space, and have a much smaller app p
Replies
2
Boosts
0
Views
1.7k
Activity
Dec ’18
Reply to Show custom view on top of MKMapView, without obscuring legal text or Apple logo
The position of the Legal label and the Apple Maps logo adjust themselves according to the value of additionalSafeAreaInsets for the view controller managing the map view.
Replies
Boosts
Views
Activity
Jul ’20
How to add some route marks to maps app through extensions
Hi, is possible to extend maps app through app extensions to add some road marks or something like that when user uses navigation? I want to show some checkmarks on apple maps app when user uses apple maps. Or maybe just to notify users when approaching to some section? If anything from this things is possible than which API to use? I have searched and did not find anything useful expect SiriKit but I think with that API its not possible to achieve this. Thanks Regards
Replies
1
Boosts
0
Views
513
Activity
Jul ’20
Center of the map in Longitude and Latitude
Hi, if I use mapkit how can I show the longitude and latitude of the center of the map? I don't mean the current location. I just need the coordinates of the shown position.
Replies
0
Boosts
0
Views
550
Activity
Apr ’22
IOS 9 Apple Maps app - show transport 3rd party apps to find route between 2 location
Hi All,I am developing an App which shows the routes between two location in Mapview and I have an option to navigate from Apple Maps app to my app via Transport apps link.In IOS 8, Maps app show App segment to list out the 3rd party navigation apps but in IOS 9, Maps app changed App to Transport and it show the 3rd party apps only in Share (Top right button) --> Transport Apps button click.Will apple remove the transport apps list in IOS 10 or next version?
Replies
0
Boosts
0
Views
330
Activity
Feb ’16
Google Map integration in Ios
HiI need to implement a google map integration in ios. What is the framework to implement it. Can anyone please provide some ideas on it.Thanks,S
Replies
1
Boosts
0
Views
545
Activity
Sep ’18
Fully Texturized 3D Map
Does MapKit have an option for the fully texturized city view where available (i.e. NYC) as seen in the Maps app for iOS (see image)?
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’22
Custom 3D Models on MapKit Map
We currently use MapKit as our map layer for our application. We have 3D models of buildings and other features that we want to overlay and visualize on the map. The issue seems to be that - as far as I can tell - we can only pitch the map to whatever iOS decides is the right pitch for the map, not what our imagery has. So if we wanted to pitch the map even when 3D imagery isn't available it doesn't seem like that is possible. Are there options for us to provide our own 3D models / imagery in MapKit? Or is there something else we should be looking at?
Replies
2
Boosts
0
Views
244
Activity
3w
Visible Map Rect
How does one get the same map are to be viewed regardless of screen resolution? I have a full-screen MapView on iPad. Here is how I set the view:#define zoomSize 50MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance([self myLocation], zoomSize, zoomSize);MKCoordinateRegion fittedRegion = [mapView regionThatFits:region];[mapView setRegion:fittedRegion animated:YES];Whether displayed on iPad 2 (1024 x 768) or iPad 3/4/Air/Air2 (2048 x 768), I get a visibleMapRect of 645 x 471. However, the actual area visible for the iPad 3/4/Air/Air2 is twice the area of the iPad2. I'd like them to be the same.
Replies
0
Boosts
0
Views
282
Activity
Mar ’17
map kit dark mode
Hi , i have been trying to find a solution to use mapkit in dark mode. I read documentation part and map view.mapkit.colorschemes.darkmode but I could not find any useful example for this. Thanks
Replies
0
Boosts
0
Views
854
Activity
Sep ’23
Reply to Energy Impact in SpriteKit
Seen Apple's Energy Efficiency Guide for iOS Apps?Try a quick search on that page for: spritekit ..for starters.By the way, which versions iOS does your app support?Reference: Apple's energy diagnostics via Intruments User Guide
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Dec ’17
Corrupted maps using Map view in SwiftUI (Xcode 13 Beta 2 / iOS 15)
Anyone else seeing corrupted maps in a SwiftUI Map view in the iOS 15 simulator on an M1 MacBook Air? Running Xcode 13 Beta 2. Works fine on an Intel Mac (same version of everything)
Replies
2
Boosts
0
Views
800
Activity
Jul ’21
Reply to How to move the Legal label in MKMapView in iOS 11
The position of the Legal label, as well as the Apple Maps logo, adjust themselves according to the value of additionalSafeAreaInsets for the view controller managing the map view.
Replies
Boosts
Views
Activity
Jul ’20
Reply to WeatherKit raday overlays
The weather map overlays--including the precipitation maps--shown in the Apple Weather app are not available via the WeatherKit API.
Replies
Boosts
Views
Activity
Nov ’25