Mapillary to Google Maps

Starting from the bookmarklet OSM<->MLY
https://wiki.openstreetmap.org/wiki/FR:Bookmarklet_OSM-Mapillary

I fabricated a GM<->MLY bookmarklet (in which the GM) stands for Google Maps.

The OSM Wiki seems inappropriate to house it.
The only little problem the bookmarklet has is that Google Maps has its own will about the zoom level.

So here it is =

javascript:
(function() {
params = location.href.match(/www.mapillary.com/app/.+lat=(-?\d{1,2}.\d+)&lng=(-?\d{1,2}.\d+)&z=(\d{1,2}.?\d*)/) ;
if (params != null) {
window.open(“https://www.google.com/maps/@” + params[1] + “,” + params[2] + “,” + params[3] + “z”) ;
}
else {
params = location.href.match(/www.google.[a-z]{2,4}/maps/.*@(-?\d{1,3}.\d+),(-?\d{1,3}.\d+),(\d+.?\d{0,2})(a|m|z)/) ;
if(params!=null) { window.open(“https://www.mapillary.com/app/?lat="+params[1]+"&lng="+params[2]+"&z=”+params[3]) ;
}
else {
alert(“mapillary <-> google maps\nimpossible”) ;
}
}
}
)()

Can anyone add the Google Streetview Coverage ?
Because that is what we want.

https://developers.google.com/maps/documentation/javascript/reference#StreetViewCoverageLayer

As expected this handy tool did not make it to the monthly Mapillary newsletter.

I did a pull request for the tools github.

https://github.com/mapillary/mapillary_tools/pull/177/files

This one slipped our attention @filipc. Thanks for highlighting it. @cbeddow have you seen this repo?