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

photo 360 filter by username #606

Closed
yann-insa opened this issue Jan 30, 2024 · 2 comments
Closed

photo 360 filter by username #606

yann-insa opened this issue Jan 30, 2024 · 2 comments

Comments

@yann-insa
Copy link

Hello,
This libraory seems to be very fantastic.
I am reaching out to inquire about a specific feature of the Mapillary API. My goal is to display images from Mapillary in my application, but I wish to filter these images so that only those uploaded by a specific user (based on their username) are shown.

I have explored your API documentation but would like to confirm if this functionality is supported. Specifically, I am interested in understanding whether the API allows filtering images by the 'creator_username' parameter and how this can be implemented effectively.

Thanks in advance

Sincerly

@oscarlorentzon
Copy link
Member

Thanks for the interest in using MapillaryJS.

If you intend to use MapillaryJS in you application you can filter for example filter on creatorUsername or creatorId.

The Viewer.setFilter documentation explains how to set the filter of choice after creating the viewer.

You can try it directly in the browser in the filtering live example.

You can also check the Core Functionality - Filtering example and its source code.

@yann-insa
Copy link
Author

thank a lot, i will be explore your tips

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

No branches or pull requests

2 participants