This seems to be possible because the MKUserLocation annotation is placed at the user's current altitude. However, the protocol for MKAnnotation only includes a coordinate. Is there a way to adjust its altitude as well? Thanks!
Creating annotations in MKMapView with an altitude component
263 Views Asked by noizybrain At
1
There are 1 best solutions below
Related Questions in MKMAPVIEW
- Reposition legal label ( MKAttributionLabel )
- How to add directions among two custom locations in Mapview for IOS 7 (objective c)
- MKMapView blocks main thread while used in UITableView
- Route not showing in MKMapView?
- How to pre-render MKMapView from other viewcontroller?
- Handle multiple MKAnnotations selected at the same time
- delay showing UIMapView until map fully loaded in Swift
- Programmatically move MKMapView - iOS
- iOS - How to animate the size of a subclassed MKAnnotationView?
- MKMapView setregion swift
- Filter array based on coordinate from mapview frame in objective C
- MKMapView: user location pin color change to gray automatically
- Adding a pin annotation to a map view on a long press in swift
- How to add Custom UIView as MKMapView Overlay
- Determine if coordinate is inside region (MKMapView, solve in PHP)
Related Questions in MKANNOTATION
- NSArray element failed to match the Swift Array Element type in mapView.annotations loop
- Handle multiple MKAnnotations selected at the same time
- MapKit (iOS) -- Live MKAnnotation Motion
- MKAnnotation just shown after move camera (swift)
- Hybrid MapKit map default pins tap
- Error: Could not cast value of type NSKVONotifying_MKUserLocation to Park_View.AttractionAnnotation
- MKAnnotation via XCTest UI Testing
- Swift annotation location update
- How to add custom images to annotations in Mapview Swift ios?
- How to show a UIView just above the MKpointAnnotation Pin
- MKAnnotationView Now Showing AccessoryItem
- As user is moving i wanted to plot another mkannotation on his old position which is different than current annotation in objective-c
- Can I assign different images to every pin in the map?
- How to load multiple annotation titles without freezing the application in iOS
- MapKit - how to put different images for each location
Related Questions in ALTITUDE
- How to average the 5 past altitude values from the iPhone barometer
- iOS CoreLocation Altitude
- How can I capture altitude on an Android phone?
- How does GPS on android get the altitude?
- Conversion for latitude/longitude to altitude in R
- Can't obtain the altitude at user's current position
- Getting Altitude(height from sea level) of my location in iphone SDK
- remove altitude from a gps fix
- Simulate Altitude Position in Android Emulator
- How to convert location data to longitude and altitude using the query of PostgreSQL?
- android - measuring altitude and accuracy on gps?
- Altitude always 0. I cannot obtain the altitude above sea level
- Getting altitude tapping on a place of the map
- GetElevation Format Issue
- Android: GPS altitude tracking for winter app
Related Questions in MKUSERLOCATION
- Remove user location annotation from mapView
- Swift + didUpdateUserLocation not getting called
- Location Marker Not Displaying Swift 4
- In iOS, using Swift, I want to show the user's location, but the blue dot does not appear on the MapView
- Take user to location when they get their location
- Only add pin when button is clicked
- Creating annotations in MKMapView with an altitude component
- Transform Annotationview based on user location heading direction
- Display current location without using CLLocationManager
- How to set Mapkit user tracking button state
- Wrong initial user location in MapView gps
- Default User Location Annotation with Heading
- How to get rid of the MKBalloonCalloutView in iOS 14
- Is possible customize MKUserTrackingBarButtonItem?
- Why is MKUserLocation in my annotations?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here is method :-
You can pull from an array stored in the map view:
and quickly adjust the altitude :-
try multipling the cameras altitude by a fraction of one, like mapView.camera.altitude *= .85; for a closer viewport