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(“Google 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(“Mapillary”+params[3]) ;
}
else {
alert(“mapillary <-> google maps\nimpossible”) ;
}
}
}
)()