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

Enable client to request image formats other than the currently hardcoded image/png #47

Open
prushforth opened this issue Oct 21, 2022 · 0 comments
Labels

Comments

@prushforth
Copy link
Member

prushforth commented Oct 21, 2022

Background

In the MapML extension, the map-link URL template is generated with a hard-coded value of "image/png" regardless of whether this format is actually available for the image or tile being requested.

Requirement

For <map-link rel="image">, enable this selection for a layer or layer group in the MapML Settings through a drop-down list of formats that are actually enabled (currently the list is in the capabilities doc). Generate the format=image/___ value based on this selection at the layer or layer group level. For <map-link rel="tile">, where the tiles are being generated by tile-shaped GetMap requests because the "Use Tiles" option is checked but there is no tile caching enabled in the "Tile Caching" tab panel, use the same selection method as for <map-link rel="image"> i.e., the list of formats that are actually enabled per the capabilities document)

For <map-link rel="tile"> where there is in fact a tile cache available, ienable the selection from a list of image formats that are being cached for the layer or layer group, where the list is specified by what image formats are checked in the "Tile Caching" tab for the layer or layer group.

@prushforth prushforth changed the title Enable client to request image formats other than the currently hardcode image/png Enable client to request image formats other than the currently hardcoded image/png Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant