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

Allow more WMTS tilematrices to pass through to frontend #991

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Aug 16, 2023

Currently we only pass through a WMTS tilematrix if it matches the current projection on the frontend. This allows more commonly used projections to be used for WMTS-layers. From user perspective this "makes more WMTS layers to work with Oskari". The admin still needs to make a conscious choice to force the reprojection for the layer with maplayer admin tools:

image

This way the frontend can make the best effort to show the layer even when the projection isn't matching. The projections that are passed through anyway are:

  • The "native" projection configured for the Oskari instance in oskari-ext.properties with the key oskari.native.srs
  • EPSG:3857
  • EPSG:4326
  • EPSG:900913

Built-in reprojection configs added to frontend in oskariorg/oskari-frontend#2376

@ZakarFin ZakarFin added this to the 2.12.0 milestone Aug 16, 2023
@ZakarFin ZakarFin merged commit fb36ecb into oskariorg:develop Aug 16, 2023
@ZakarFin ZakarFin deleted the allow-projections branch August 16, 2023 15:12
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

Successfully merging this pull request may close these issues.

1 participant