Skip to content

OpenLayersMinimap @giro3d/piero ​

Add a minimap widget based on OpenLayers.

Usage with createPieroApp ​

js
import { misc } from '@giro3d/piero/modules';

createPieroApp({
    ...
    modules: [
        misc.OpenLayersMinimap
        ...
    ]
})

Usage ​

This module adds a widget in the main view containing a minimap synchronized to the main view. This minimap contains the OpenStreetMap basemap.

Clicking on the minimap collapses/expands it. Note that when the minimap is collapsed, it does not update.