Skip to content

Minimap @giro3d/piero ​

Add a minimap widget based on OpenLayers.

Usage with createPieroApp ​

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

createPieroApp({
    ...
    modules: [
        widgets.Minimap
        ...
    ]
})

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.