Search results for

“Apple Maps Guides”

155,802 results found

Post

Replies

Boosts

Views

Activity

drop pin on map
I want to be able to drop a pin on a map. For example if I view a satellite view of a golf course I want to drop a pin in the middle of the 12 th green and then calculate the distance from my current location. How can I drop a pin on the map where I click it and then move it around to place it in the correct spot and then get the latitude and longitude returned to me?
0
0
391
Feb ’16
Normal Map From SCNRenderer
Hi everyone !I would to build a multy pass rendering engine based on scenekit and OpenGL. I saw that with a SCNRenderer I can render the color and depth map of my scene in my own framebuffer. //load Framebuffers glGenFramebuffers(1, &myFBO); glBindFramebuffer(GL_FRAMEBUFFER, myFBO); geometryBufferDrawBuffer = GL_COLOR_ATTACHMENT0; glDrawBuffers(1, &geometryBufferDrawBuffer); // Attach textures to framebuffer glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 , GL_TEXTURE_2D, colorTexture, 0); glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTexture, 0); [scenekitRenderer renderAtTime:currentTime];But I also need to get the normal map. Is there a way to get it ? I tryed to attach a texture to a second color attachement, but I only get the color map. And I can't render the scene with my own shaders.Thank you for your helps !
0
0
389
Jan ’16
A guide for Network.framework?
I was just following links from a forum on the Swift language, and I found a Network.framework library on Apple's documentation pages. The types themselves don't have took mauch documentation. Since I'm just curious and don't have any applicable projects right now, is there some blog pages (or the like) that have insturctions on how to use the various types?
2
0
3.3k
May ’19
Reply to Accessing name of location programatically?
Converting location information between lat/lon and human understandable form (called a placemark) is called Geocoding,What you are specifically asking for is actually called reverse geocodingIn iOS, this is done using the CLGeocoder class (part of CoreLocation).You can read more about it in the Location and Maps programming guide: Getting Placemark Information Using CLGeocoder
Jan ’16
Map Views are not loading
i have several apps with MKMapView and none of them are loading in Hybrid mode. I checked a few other apps and this is what I found:MotionX is not loading in Apple Hybrid modeApple Store map page is not loading street namesZillow is not loading mapsRuntastic is not loading mapsHowever, Apple Maps is loading in any mode.I want to make sure this is caused by some down service somewhere and not something that i need to change in my apps.
2
0
353
Apr ’16
MapKit Map Type Black
Hey guys,So I have a very simple question. I just noticed that Weather Underground has a map type setting that allows you to use the black map. As far as I remember, however, Apple didn't provide that option as Apple only uses that for night navigation. Is there a hidden option to enable that? Or is Weather Underground doing something else?One last thing: if you know how to do that, can you please share it with us, please? I'm really curious.Thanks!
4
0
917
May ’16
Problem with alignment guides
I am creating a user interface for a working program. I am able to lay things out with offsets but am trying as a learning experience to do the same with alignment guides. For the section heading labeled Group 1 I am able to get the layout I want. What I cannot get to work are alignment guides for the associated rounded rectangle. It appears that the alignment guides with the rounded rectangle only affect the contents i.e. the text Data Table. Below is a picture of the code output and the code. How, using alignment guides, can move the top rounded rectangle? To keep the picture small I just copied the left side of the output window. The top rounded rectangle is approximately centered in this window. struct ContentView: View { var body: some View { NavigationStack { Text(Group1) .font(Font.custom(Arial, size: 16)) .alignmentGuide(HorizontalAlignment.center, computeValue: { d in print((d[HorizontalAlignment.leading])) // print leading = 0.0 // print center = 27 // print trail
1
0
1.2k
Sep ’23
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
1
0
1.5k
Jul ’20
Why didn't Apple provide SpriteKit Programming Guide in Swift?
As the topic
Replies
3
Boosts
0
Views
461
Activity
May ’16
drop pin on map
I want to be able to drop a pin on a map. For example if I view a satellite view of a golf course I want to drop a pin in the middle of the 12 th green and then calculate the distance from my current location. How can I drop a pin on the map where I click it and then move it around to place it in the correct spot and then get the latitude and longitude returned to me?
Replies
0
Boosts
0
Views
391
Activity
Feb ’16
Normal Map From SCNRenderer
Hi everyone !I would to build a multy pass rendering engine based on scenekit and OpenGL. I saw that with a SCNRenderer I can render the color and depth map of my scene in my own framebuffer. //load Framebuffers glGenFramebuffers(1, &myFBO); glBindFramebuffer(GL_FRAMEBUFFER, myFBO); geometryBufferDrawBuffer = GL_COLOR_ATTACHMENT0; glDrawBuffers(1, &geometryBufferDrawBuffer); // Attach textures to framebuffer glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 , GL_TEXTURE_2D, colorTexture, 0); glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTexture, 0); [scenekitRenderer renderAtTime:currentTime];But I also need to get the normal map. Is there a way to get it ? I tryed to attach a texture to a second color attachement, but I only get the color map. And I can't render the scene with my own shaders.Thank you for your helps !
Replies
0
Boosts
0
Views
389
Activity
Jan ’16
Link Broken to SpriteKit programming guide
Hello,Is anyone experiencing this issue. All links that I have clicked to get to the spritekit programming guide seem to be broken.Wondering ig they are just working on a new guide for Swift, or if they just have the wrong link set.thanks...
Replies
3
Boosts
0
Views
378
Activity
Jun ’17
A guide for Network.framework?
I was just following links from a forum on the Swift language, and I found a Network.framework library on Apple's documentation pages. The types themselves don't have took mauch documentation. Since I'm just curious and don't have any applicable projects right now, is there some blog pages (or the like) that have insturctions on how to use the various types?
Replies
2
Boosts
0
Views
3.3k
Activity
May ’19
Maps & Location
How do you change the city and zip code for an address listed incorrectly on the Maps app?
Replies
0
Boosts
0
Views
721
Activity
Feb ’22
Reply to Accessing name of location programatically?
Converting location information between lat/lon and human understandable form (called a placemark) is called Geocoding,What you are specifically asking for is actually called reverse geocodingIn iOS, this is done using the CLGeocoder class (part of CoreLocation).You can read more about it in the Location and Maps programming guide: Getting Placemark Information Using CLGeocoder
Replies
Boosts
Views
Activity
Jan ’16
Map Views are not loading
i have several apps with MKMapView and none of them are loading in Hybrid mode. I checked a few other apps and this is what I found:MotionX is not loading in Apple Hybrid modeApple Store map page is not loading street namesZillow is not loading mapsRuntastic is not loading mapsHowever, Apple Maps is loading in any mode.I want to make sure this is caused by some down service somewhere and not something that i need to change in my apps.
Replies
2
Boosts
0
Views
353
Activity
Apr ’16
MapKit Map Type Black
Hey guys,So I have a very simple question. I just noticed that Weather Underground has a map type setting that allows you to use the black map. As far as I remember, however, Apple didn't provide that option as Apple only uses that for night navigation. Is there a hidden option to enable that? Or is Weather Underground doing something else?One last thing: if you know how to do that, can you please share it with us, please? I'm really curious.Thanks!
Replies
4
Boosts
0
Views
917
Activity
May ’16
Problem with alignment guides
I am creating a user interface for a working program. I am able to lay things out with offsets but am trying as a learning experience to do the same with alignment guides. For the section heading labeled Group 1 I am able to get the layout I want. What I cannot get to work are alignment guides for the associated rounded rectangle. It appears that the alignment guides with the rounded rectangle only affect the contents i.e. the text Data Table. Below is a picture of the code output and the code. How, using alignment guides, can move the top rounded rectangle? To keep the picture small I just copied the left side of the output window. The top rounded rectangle is approximately centered in this window. struct ContentView: View { var body: some View { NavigationStack { Text(Group1) .font(Font.custom(Arial, size: 16)) .alignmentGuide(HorizontalAlignment.center, computeValue: { d in print((d[HorizontalAlignment.leading])) // print leading = 0.0 // print center = 27 // print trail
Replies
1
Boosts
0
Views
1.2k
Activity
Sep ’23
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’20
Google Maps ? How to enable
I dont see anything to enable Google Maps. Is this coming later?
Replies
4
Boosts
0
Views
3.4k
Activity
Jun ’18
Maps Web Snapshots
Hello there,is it possible to let users take Maps Web Snapshots after searched a location on mapkit js?
Replies
0
Boosts
0
Views
716
Activity
Sep ’23
Mind Mapping Tag
I would like to know if there is a SIMPLE way to create a mind map with tags ?
Replies
0
Boosts
0
Views
251
Activity
Oct ’20
How do I show topographic maps?
I installed the developer beta. I don't see how to show topographic maps.
Replies
1
Boosts
0
Views
496
Activity
Jun ’24