Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.35 KB

File metadata and controls

46 lines (41 loc) · 1.35 KB

Mapillary Widget for CMV

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.


Configurable Options

Parameter Type Description
mapillaryOptions Object Options supported by the Mapillary Viewer
layerOptions Object Options for the VectorTiles layer displaying the Mapillary coverage

Example Configuration:

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
        }
    }
}

Screenshot:

Screenshot