[ios, macos] Introduce MGLShapeSourceOptionLineDistanceMetrics

Exposes access to
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics
This commit is contained in:
Mikhail Pozdnyakov
2018-08-10 14:45:57 +03:00
parent 7e6331b29f
commit 5ce64b786c
8 changed files with 29 additions and 1 deletions

View File

@@ -158,6 +158,7 @@ In style JSON | In the SDK
`cluster` | `MGLShapeSourceOptionClustered`
`clusterRadius` | `MGLShapeSourceOptionClusterRadius`
`clusterMaxZoom` | `MGLShapeSourceOptionMaximumZoomLevelForClustering`
`lineMetrics` | `MGLShapeSourceOptionLineDistanceMetrics`
To create a shape source from local GeoJSON data, first
[convert the GeoJSON data into a shape](working-with-geojson-data.html#converting-geojson-data-into-shape-objects),