Skip to main content
configs/map-camera.jsonc controls where the camera can go and how it gets there: the altitude the map opens at, the limits it stays within, the area of the world it covers, and the timing of each movement. The way the mouse drives the camera is in Map.

Settings

Altitude and view

The area the map covers

The defaults cover the main Los Santos map. Narrow them to keep players inside the part of the world your server uses.

Dynamic regions and island bounds

The map supports dynamic regions (such as Cayo Perico or custom map expansions) that expand the camera limits when their IPLs are loaded in the game. When Cayo Perico is loaded via IPL, the map automatically extends its pan bounds south-east down to minY: -6500.0 and maxX: 6500.0, and enables Heist Island path node streaming for routes.

Opening and closing

Moving to a marker

Used when a player clicks a marker or a legend entry.

Settling onto a marker

The magnet: when the camera stops with a marker near the centre of the screen, it slides so the marker sits exactly in the centre. It does this once each time a marker comes to the centre, and not again while the player moves around that marker.

Easing names

Every ease key accepts the same set of names. Each family below has three forms: in… accelerates at the start only, out… decelerates at the end only, and inOut… does both. inOutQuad is used throughout the defaults. Back, Elastic and Bounce overshoot the target, so they suit opening and closing better than they suit settling onto a marker. A name that is not in the table falls back to inOutQuad without any message. Check the spelling if a movement does not change after an edit.

Example

A map limited to the city, opening lower and moving faster:
Groups are merged key by key, so "open": { "duration": 0.6 } keeps the shipped easing.

Applying changes

Limits

Duration values are seconds, not milliseconds. 1.0 is one second; 1000 is roughly seventeen minutes of camera movement before the map becomes usable.