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

Map Query API + zooming to features returned to query #432

Open
ahmadayubi opened this issue Apr 27, 2021 · 2 comments
Open

Map Query API + zooming to features returned to query #432

ahmadayubi opened this issue Apr 27, 2021 · 2 comments

Comments

@ahmadayubi
Copy link
Member

When a feature is returned from a query, the given feature should be focused/zoomed into view. The webpage author should also be able to decide whether a queried feature should be focused or not, through some facility.

@Malvoz
Copy link
Member

Malvoz commented Oct 21, 2021

Related: #482.

@prushforth
Copy link
Member

Also possibly related. A "Map Query API" should really just be a querySelector, I believe. The API for (one or more) features could be based on returning the extent of that set, which could be rendered by a mapml-viewer.fitExtent(extent), perhaps (the latter function doesn't exist yet, but I think it might have been / might yet be useful for development of Aliyan's client)

@prushforth prushforth modified the milestones: Fall term 2021, Summer 2022 May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants