Enable default rotation control

This commit is contained in:
Râu Cao 2026-01-21 13:08:35 +07:00
parent fbb90a330b
commit babf2c4a89
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -91,7 +91,7 @@ export default class MapComponent extends Component {
target: element,
layers: [openfreemap, bookmarkLayer],
view: view,
controls: defaultControls({ zoom: false, rotate: false, attribution: true }),
controls: defaultControls({ zoom: false, rotate: true, attribution: true }),
});
apply(this.mapInstance, 'https://tiles.openfreemap.org/styles/liberty');