A replacement for the CMV Google StreetView widget that display street level imagery from Mapillary using MapillaryJS.
To use MapillaryJS you must create an account and obtain a Client ID.
| Parameter | Type | Description |
|---|---|---|
mapillaryOptions |
Object | Options supported by the Mapillary Viewer |
layerOptions |
Object | Options for the VectorTiles layer displaying the Mapillary coverage |
mapillary: {
include: true,
type: 'titlePane',
title: 'Mapillary',
iconClass: 'fas fa-location-arrow fa-rotate-90',
open: true,
position: 0,
path: 'widgets/Mapillary',
canFloat: true,
paneOptions: {
resizable: true,
resizeOptions: {
minSize: {
w: 250,
h: 250
}
}
},
options: {
map: true,
mapillaryOptions: {
clientID: 'insert-your-own-client-id',
photoID: null
}
}
}