Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document PolylineVolume #180

Closed
thw0rted opened this issue Dec 2, 2020 · 3 comments
Closed

Document PolylineVolume #180

thw0rted opened this issue Dec 2, 2020 · 3 comments

Comments

@thw0rted
Copy link

thw0rted commented Dec 2, 2020

Cesium added support for PolylineVolume a few months ago, in CesiumGS/cesium#8841, but it's not listed on the wiki. As far as I can tell, that's still the authoritative place to go for CZML syntax, right?

@thw0rted
Copy link
Author

thw0rted commented Dec 2, 2020

Reading over the linked PR, this is my first pass at a Typescript interface, which should more or less map one-to-one with the docs format on the wiki:

export interface PolylineVolume {
    positions?: PositionList;
    shape?: PositionList;
    show?: boolean;
    cornerType?: {cornerType: CornerTypeValue} | ReferenceProperty;
    fill?: boolean;
    material?: Material;
    outline?: boolean;
    outlineColor?: ColorValue | ReferenceProperty;
    outlineWidth?: number;
    granularity?: number;
    shadows?: ShadowModeProperty | ReferenceProperty;
    distanceDisplayCondition?: DistanceDisplayConditionProperty | ReferenceProperty;
}

@astrojuanlu
Copy link

JSON schema lives here, and PolylineVolume is still not present: https://github.com/AnalyticalGraphicsInc/czml-writer/tree/master/Schema

@shunter
Copy link
Member

shunter commented Mar 1, 2021

Added in #183.

@shunter shunter closed this as completed Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants