For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt, and this page is available as Markdown at /core-sdk/map/web/v10/11-camera/01-tilt-and-rotate-map.md.
MapxusDeveloper Platform
Products
Positioning APIAccess real-time indoor coordinates and contextual signals.API
UI SDKProduction-ready indoor map interfaces and UI components.AndroidiOS

Tilt and Rotate Map

To set default tilt degree:

const maplibreMap = new maplibregl.Map({
	container: 'map',
	pitch: 60
});

To set default map rotation angle:

const maplibreMap = new maplibregl.Map({
	container: 'map',
	bearing: -60
});

To disable the map tilt and rotation action:

// init maplibre-gl map
const maplibreMap = new maplibregl.Map({
    container: 'map'
});
// use maplibre dragRotate property
maplibreMap.dragRotate.disable();

Sample web page: