A new class, `MGLUserLocationAnnotationView`, has been added that inherits from `MGLAnnotationView`. Use a subclass of `MGLUserLocationAnnotationView` to customize the appearance of the user location annotation. Use your custom view with the `MGLMapView.userLocation` annotation via the `-mapView:viewForAnnotation:` delegate method.
81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
module: Mapbox
|
||
author: Mapbox
|
||
author_url: https://www.mapbox.com/
|
||
github_url: https://github.com/mapbox/mapbox-gl-native
|
||
dash_url: https://www.mapbox.com/ios-sdk/docsets/Mapbox.xml
|
||
copyright: '© 2014–2016 [Mapbox](https://www.mapbox.com/). See [license](https://github.com/mapbox/mapbox-gl-native/blob/master/LICENSE.md) for more details.'
|
||
|
||
head: |
|
||
<link rel='shortcut icon' href='https://www.mapbox.com/img/favicon.ico' type='image/x-icon' />
|
||
|
||
objc: Yes
|
||
skip_undocumented: Yes
|
||
hide_documentation_coverage: Yes
|
||
umbrella_header: src/Mapbox.h
|
||
framework_root: ../darwin/src
|
||
|
||
custom_categories:
|
||
- name: Maps
|
||
children:
|
||
- MGLAccountManager
|
||
- MGLMapCamera
|
||
- MGLMapView
|
||
- MGLMapViewDelegate
|
||
- MGLStyle
|
||
- MGLUserTrackingMode
|
||
- name: Annotations
|
||
children:
|
||
- MGLAnnotation
|
||
- MGLAnnotationImage
|
||
- MGLAnnotationView
|
||
- MGLCalloutView
|
||
- MGLCalloutViewDelegate
|
||
- MGLMultiPoint
|
||
- MGLMultiPolygon
|
||
- MGLMultiPolyline
|
||
- MGLPointAnnotation
|
||
- MGLPolygon
|
||
- MGLPolyline
|
||
- MGLOverlay
|
||
- MGLShape
|
||
- MGLShapeCollection
|
||
- MGLUserLocation
|
||
- MGLUserLocationAnnotationView
|
||
- name: Map Data
|
||
children:
|
||
- MGLFeature
|
||
- MGLMultiPointFeature
|
||
- MGLMultiPolygonFeature
|
||
- MGLMultiPolylineFeature
|
||
- MGLPointFeature
|
||
- MGLPolygonFeature
|
||
- MGLPolylineFeature
|
||
- MGLShapeCollectionFeature
|
||
- name: Offline Maps
|
||
children:
|
||
- MGLOfflineRegion
|
||
- MGLOfflineStorage
|
||
- MGLOfflinePack
|
||
- MGLOfflinePackProgress
|
||
- MGLOfflinePackState
|
||
- MGLTilePyramidOfflineRegion
|
||
- name: Geometry
|
||
children:
|
||
- MGLClockDirectionFormatter
|
||
- MGLCompassDirectionFormatter
|
||
- MGLCoordinateBounds
|
||
- MGLCoordinateBoundsEqualToCoordinateBounds
|
||
- MGLCoordinateBoundsGetCoordinateSpan
|
||
- MGLCoordinateBoundsIsEmpty
|
||
- MGLCoordinateBoundsMake
|
||
- MGLCoordinateBoundsOffset
|
||
- MGLCoordinateFormatter
|
||
- MGLCoordinateInCoordinateBounds
|
||
- MGLCoordinateSpan
|
||
- MGLCoordinateSpanEqualToCoordinateSpan
|
||
- MGLCoordinateSpanMake
|
||
- MGLCoordinateSpanZero
|
||
- MGLDegreesFromRadians
|
||
- MGLRadiansFromDegrees
|
||
- MGLStringFromCoordinateBounds
|