3liz / lizmap-javascript-scripts

Scripts for Lizmap Web Client
Mozilla Public License 2.0
22 stars 41 forks source link

Mapillary script : Add date or 360 pic filter #59

Open CorentinLemaitre opened 2 years ago

CorentinLemaitre commented 2 years ago

Hello,

I did add the script to get mapillary, it works well (thank you for this script). 👏

I would like to know if a filter is possible on the mapillary tiles ?

My use case is to show only mapillary sequence made since 2020 and contain 360 pictures on a map. Mapillary website can do it with this kind of filter : &dateFrom=2020-08-02&panos=true. The vector tile served by mapillary permit this too.

An example on mapillary website

I tried to add this kind of filter in the javascript in the url of the tile request or after url but I didn't make it work.