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

Feature: Add zoom query parameter to Resources OpenAPI definition #1852

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

panaaj
Copy link
Member

@panaaj panaaj commented Dec 20, 2024

Update the Resources API OpenAPI definition to support a zoom query parameter to allow a zoom level to be provided in a resource request.

Zoom levels equate to the resolution in the following document: https://wiki.openstreetmap.org/wiki/Zoom_levels

Example requests:
GET ./signalk/v2/api/resources/notes?zoom=9
GET ./signalk/v2/api/resources/notes?position=[5.562490300291487,53.01296548279345]&distance=92000&zoom=9

Ref: #1851

@panaaj panaaj added the feature label Dec 20, 2024
@panaaj panaaj requested a review from tkurki December 20, 2024 01:38
@tkurki tkurki merged commit 6c38520 into master Dec 23, 2024
3 checks passed
@tkurki tkurki deleted the resourcesapi-zoom-param branch December 23, 2024 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants