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

get rid of getCap, constrain resolutions #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maltaesousa
Copy link
Member

@maltaesousa maltaesousa commented Mar 24, 2023

Constraining resolutions for a better rendering

Demo deployed: https://sitn.ne.ch/web/sitnlayers/

js/sitnlayers.js Outdated
+ '<a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> | '
+ '<a href="https://mapicons.mapsmarker.com/about/license/" target="_blank">Maps Icons Collection</a>',
projection: _projection,
url: 'https://sitn.ne.ch/mapproxy95/wmts/1.0.0/{layer}/default/EPSG2056/{TileMatrix}/{TileRow}/{TileCol}.png',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that working with orthophotos? They are served in the jpeg format...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed it!

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.

2 participants