Skip to content

support inline Stylesheet.data #49

@oberhamsi

Description

@oberhamsi

for small styles and for embeded conversion, it's convinient to have the MSS inlined into the mml file.

original carto did a check if a Stylesheet entry is not a string and assume it's already in {id, data} format https://github.com/mapbox/carto/blob/305107201d4f8c4a2b9118c0077dde904f4224ed/lib/carto/mml.js#L66

afaiu this would be rather simple with a similar check and carto.parseString here

for _, mss := range b.mss {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions