You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
make Darwin enum peer cross-references more robust #6541
We want to more robustly regex-match cross-references between properties in a layer type.
As an example, the output we have as of #6508 looks like this:
/** In combination with `symbolPlacement`, determines the rotation behavior of icons.*/typedefNS_ENUM(NSUInteger, MGLSymbolStyleLayerIconRotationAlignment) {
/** When `symbolPlacement` is set to `MGLSymbolStyleLayerSymbolPlacementPoint`, aligns icons east-west. When `symbolPlacement` is set to `MGLSymbolStyleLayerSymbolPlacementLine`, aligns icon x-axes with the line.*/
MGLSymbolStyleLayerIconRotationAlignmentMap,
/** Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbolPlacement`.*/
MGLSymbolStyleLayerIconRotationAlignmentViewport,
/** When `symbolPlacement` is set to `MGLSymbolStyleLayerSymbolPlacementPoint`, this is equivalent to `MGLSymbolStyleLayerIconRotationAlignmentViewport`. When `symbolPlacement` is set to `MGLSymbolStyleLayerSymbolPlacementLine`, this is equivalent to `MGLSymbolStyleLayerIconRotationAlignmentMap`.*/
MGLSymbolStyleLayerIconRotationAlignmentAuto,
};
Per the reference comment, we could make this less brittle in our code gen script since the upstream style spec isn't necessarily aware of the conditions.
Activity
[ios, macos] Loosened style doc transform regex
[ios, macos] Loosened style doc transform regex (#6543)