Skip to content

IMap

Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public interface IMap

A read-only snapshot of the real loaded OMSI map and timetable. Static arrays come directly from global.cfg and the timetable manager; loaded tiles and simulation counts update every frame.

int AiVehicleCount { get; }
BusStop[] BusStops { get; }
string DisplayName { get; }
MapEntryPoint[] EntryPoints { get; }
string FolderName { get; }
bool LeftHandTraffic { get; }
MapTileCoordinate[] LoadedTiles { get; }
string Name { get; }
int PassengerCount { get; }
int PendingTileCount { get; }
MapRoute[] Routes { get; }
MapTile[] Tiles { get; }
float TileSize { get; }
int WalkingPedestrianCount { get; }
bool WorldCoordinates { get; }