Skip to content

How does styling MapML with CSS work? #71

Open
@zcorpan

Description

@zcorpan

4.3 Styling
MapML documents can be styled with Cascading Style Sheets.

How does this work?

What is the rendering model of MapML? If it's intended to be stylable with CSS, I assume the rendering model should be in terms of CSS. Does CSS have the primitives that maps need?

How does the geometry element map to CSS?

How does tile map to CSS?

How is zooming and panning explained by CSS's model? Panning is kinda like scrolling, except with a map you could pan around in both directions and get back where you started. CSS doesn't have a zooming primitive I believe.

For <layer src=somemap.mapml>, how do you style that content? Does the MapML document need to provide its own CSS to style itself? Can the parent document style it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions