mapillary / mapillary-js

Interactive, extendable street imagery map experiences in the browser, powered by WebGL

Home Page:https://mapillary.github.io/mapillary-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

photo 360 filter by username

yann-insa opened this issue · comments

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

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.

thank a lot, i will be explore your tips