RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Freeroam Big Map MarkersFreeroam Big Map ModeFreeroam Big Map POI ProviderFreeroam Crash Cam ModeFreeroam Crash Cam Mode LoaderFreeroam Drag RaceFreeroam FacilitiesFreeroamFreeroam ConfiguratorFreeroam Gas StationsFreeroam Level StatsFreeroam OrganizationsFreeroam Special TriggersFreeroam Vue Big Map

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsfreeroam

Freeroam Big Map Mode

M.dependencies = {'gameplay_rawPois', 'core_groundMarkers','core_camera','core_terrain', 'freeroam_bigMapMarkers'}

Dependencies

M.dependencies = {'gameplay_rawPois', 'core_groundMarkers','core_camera','core_terrain', 'freeroam_bigMapMarkers'}

Core controller for the big map (satellite view). Manages camera transitions, POI selection/hover, navigation routing, time-of-day changes, fog/shadow adjustments, level border fog walls, and UI interaction.


Internal State

FieldTypeDescription

Public API

FunctionSignatureReturnsDescription
M.enterBigMap(options)nilOpens the big map with optional config
M.exitBigMap(instant, closeEscMenu, forceGameCam)nilCloses the big map
M.toggleBigMap()nilToggles big map open/close
M.bigMapActive()booleanReturns whether big map is currently active
M.isTransitionActive()boolean|numberReturns transition state (false/1/2)
M.setOnlyIdsVisible(list)nilSets which POI IDs are displayed
M.setNavFocus(pos)nilSets navigation destination
M.selectPoi(poiIdInCluster)nilSelects a POI from code
M.deselect()nilDeselects current POI
M.poiHovered(poiIdInCluster, hovered)nilHandles POI hover from UI list
M.navigateToMission(poiId)marker|nilSets navigation route to a mission/POI
M.teleportToPoi(poiId)nilQuick-travels player vehicle to a POI
M.zoom(value)nilZooms the bigmap camera
M.updateMergeRadius(factor)nilUpdates cluster merge radius based on zoom
M.getVerticalResolution()numberReturns screen vertical resolution
M.setRoutePreview(route)nilSets mission route preview line
M.clearRoutePreview()nilClears route preview
M.setRoutePreviewSimple(from, to)-
M.setBigmapScreenBounds(windowSize, mapSize)-
M.zoomInOut(value, zoomIn)-
M.controllerZoom(value, zoomIn)-
M.closePopupCallback()-
M.openPopupCallback()-
M.isUIPopupOpen()-
M.enterBigMapWithCustomPOIs(poiIds, callback, options)-
M.resetRoute()-
M.onClientStartMission(levelPath)-
M.onClientEndMission(levelPath)-
M.onMouseButton(buttonDown)-
M.onControllerSelect()-
M.camMoveController(upDown, value)-
M.camMoveKey(value, direction)-
M.onCameraPreRender(camData)-
M.onSerialize()-
M.onDeserialized(v)-
M.onMenuItemNavigation()-
M.onNavgraphReloaded()-
M.onChangeUiFilter(value, dir)-
M.onReachedTargetPos()-

Key State

FieldTypeDescription
M.selectedPoiIdstring|nilCurrently selected POI ID
M.hoveredPoiIdstring|nilCurrently hovered POI ID
M.hoveredListItemstring|nilHovered item from UI list
M.clusterMergeRadiusnumberCurrent cluster merge radius

Hooks Emitted

HookArgsWhen
onBigMapActivated-After big map fully opens
onDeactivateBigMapCallback-After big map fully closes
onBigmapHoveredPoiIdChangedhoveredPoiIdHover state changes
onPoiSelectedFromBigmappoiIdPOI selected
onNavigateToMissionclusterIdNavigation route set
onSetBigmapNavFocusposNav focus position set
teleportedFromBigmap-After quick travel

How It Works

  1. Enter: Saves previous camera/fog/shadow/TOD state, calculates overhead camera position from terrain bounding box, builds transition camera path, pauses sim time
  2. Transition: 4-marker camera path interpolates from vehicle orbit → overhead; fog fades out, shadows adjust, TOD shifts to bigMapTod
  3. Active: Renders POI markers via bigMapMarkers, handles mouse/controller hover, draws navigation route as simplified cylinder path
  4. Exit: Reverses transition, restores all previous state, pops action map

Options for enterBigMap

enterBigMap({
  instant = true,             -- Skip camera transition
  missionId = "mission_001",  -- Auto-open specific mission
  cameraAdditionalHeightFactor = 0.1,
  horizontalOffsetFactor = 1, -- UI sidebar compensation
})

Notes

  • Blocks most input actions while active via core_input_actionFilter
  • Uses BigMap action map for zoom/pan controls
  • Level borders rendered as fog wall TSStatic objects
  • Navigation route simplified based on camera height for performance
  • Career mode integration: delivery cargo screen intercepts toggle

Additional Exports

  • M.onUpdate - (undocumented)

See Also

  • Freeroam Big Map Markers - Related reference
  • Freeroam Big Map POI Provider - Related reference
  • Freeroam Crash Cam Mode - Related reference
  • Freeroam Guide - Guide

Freeroam Big Map Markers

Manages clustering and rendering of POI markers on the big map. Handles quadtree-based spatial clustering, marker lifecycle, mouse hover detection, and visibility filtering.

Freeroam Big Map POI Provider

M.dependencies = {'gameplay_missions_missions','freeroam_bigMapMode', 'gameplay_rawPois', 'gameplay_playmodeMarkers'}

On this page

DependenciesInternal StatePublic APIKey StateHooks EmittedHow It WorksOptions for enterBigMapNotesAdditional ExportsSee Also