* [ios, macos] Introduce MGLPointCollection This makes MGLMultiPoint abstract again so that it is only a place for shared functionality of polygons and polylines. The multipoint feature replaces the point collection feature and can be used to initialize a MGLGeoJSONSource. The previously added swift_names for polyline and polygon are removed, for now. This also updates the iOS and macOS annotation adding logic so that unwanted shapes really are avoided. Previously the combined OR conditions meant that an annotation had to logically be NOT a kind of all three types so the check always let the annotation slip through. This also expands the guard to deflect the new MGLPointCollection.
94 lines
2.5 KiB
YAML
94 lines
2.5 KiB
YAML
module: Mapbox
|
||
author: Mapbox
|
||
author_url: https://www.mapbox.com/
|
||
github_url: https://github.com/mapbox/mapbox-gl-native
|
||
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
|
||
- MGLMultiPoint
|
||
- MGLMultiPolygon
|
||
- MGLMultiPolyline
|
||
- MGLPointAnnotation
|
||
- MGLPointCollection
|
||
- MGLPolygon
|
||
- MGLPolyline
|
||
- MGLOverlay
|
||
- MGLShape
|
||
- MGLShapeCollection
|
||
- name: Map Data
|
||
children:
|
||
- MGLFeature
|
||
- MGLMultiPolygonFeature
|
||
- MGLMultiPolylineFeature
|
||
- MGLPointCollectionFeature
|
||
- MGLPointFeature
|
||
- MGLPolygonFeature
|
||
- MGLPolylineFeature
|
||
- MGLShapeCollectionFeature
|
||
- name: Style Layers
|
||
children:
|
||
- MGLBackgroundStyleLayer
|
||
- MGLCircleStyleLayer
|
||
- MGLFillStyleLayer
|
||
- MGLForegroundStyleLayer
|
||
- MGLLineStyleLayer
|
||
- MGLRasterStyleLayer
|
||
- MGLStyleLayer
|
||
- MGLSymbolStyleLayer
|
||
- MGLVectorStyleLayer
|
||
- name: Data Sources
|
||
children:
|
||
- MGLSource
|
||
- MGLGeoJSONSource
|
||
- MGLRasterSource
|
||
- MGLTileSet
|
||
- MGLVectorSource
|
||
- 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
|