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

New page for (serving) MapML documents? #46

Open
Malvoz opened this issue Jul 31, 2021 · 0 comments
Open

New page for (serving) MapML documents? #46

Malvoz opened this issue Jul 31, 2021 · 0 comments
Labels
question Further information is requested

Comments

@Malvoz
Copy link
Member

Malvoz commented Jul 31, 2021

Is it clear to people how to properly serve MapML documents?

Should there be a page to:

  • Briefly describe what MapML is, and link to the spec (and change the current link to the spec to point to this new page).
  • Describe best practices/requirements for serving MapML documents. For example:
    • HTTP headers:
      • Access-Control-Allow-Origin: * | <origin>
      • Cross-Origin-Resource-Policy: cross-origin | same-origin | same-site
      • Content-Type (application/xml or text/mapml?)
      • Cache-Control's no-transform directive (valuable for applications that can't risk their users having a degraded experience)
    • Minification (e.g. minifying this mapml file would save about 500 kb)

Implementers of the polyfill may benefit from such information as well.

@Malvoz Malvoz added the question Further information is requested label Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant