From 5ce64b786cfd2fbfdc28ccfbcf9c1a5216346281 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Fri, 10 Aug 2018 14:45:57 +0300 Subject: [ios, macos] Introduce `MGLShapeSourceOptionLineDistanceMetrics` Exposes access to https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics --- platform/darwin/docs/guides/For Style Authors.md.ejs | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/darwin/docs/guides/For Style Authors.md.ejs') diff --git a/platform/darwin/docs/guides/For Style Authors.md.ejs b/platform/darwin/docs/guides/For Style Authors.md.ejs index 940c9b1042..dd07ae9e76 100644 --- a/platform/darwin/docs/guides/For Style Authors.md.ejs +++ b/platform/darwin/docs/guides/For Style Authors.md.ejs @@ -222,6 +222,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), -- cgit v1.2.1