Repository navigation
[ios, macos] Introduce MGLShapeSourceOptionLineDistanceMetrics - #12604
Conversation
1ec5
left a comment
There was a problem hiding this comment.
In addition to the following, the initializers of MGLShapeSource have documentation comments that list supported options, since some options only apply to computed shape sources (custom sources). The new option should be listed as well. Speaking of which, does the new option apply to computed shape sources?
Remember to add a changelog entry either as part of this PR or when the line-gradient one. Thanks!
There was a problem hiding this comment.
Set this property to
YESin order for theMGLLineStyleLayer.lineGradientproperty to have its intended effect.
There was a problem hiding this comment.
Nit: The “This is required” sentence is redundant to the sentence added below. I’d remove the original sentence and move “The default value” down to the next paragraph.
e80fcf2 to
7aefa6d
Compare
|
@1ec5 Thanks for review!
The latest patch has updated changelog and the documentation comments. The newly added feature depends on calculations processed in |
7aefa6d to
e0e5dbb
Compare
Exposes access to
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics