IMap
Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll
public interface IMapA 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.
Properties
Section titled “Properties”AiVehicleCount
Section titled “AiVehicleCount”int AiVehicleCount { get; }BusStops
Section titled “BusStops”BusStop[] BusStops { get; }DisplayName
Section titled “DisplayName”string DisplayName { get; }EntryPoints
Section titled “EntryPoints”MapEntryPoint[] EntryPoints { get; }FolderName
Section titled “FolderName”string FolderName { get; }LeftHandTraffic
Section titled “LeftHandTraffic”bool LeftHandTraffic { get; }LoadedTiles
Section titled “LoadedTiles”MapTileCoordinate[] LoadedTiles { get; }string Name { get; }PassengerCount
Section titled “PassengerCount”int PassengerCount { get; }PendingTileCount
Section titled “PendingTileCount”int PendingTileCount { get; }Routes
Section titled “Routes”MapRoute[] Routes { get; }MapTile[] Tiles { get; }TileSize
Section titled “TileSize”float TileSize { get; }WalkingPedestrianCount
Section titled “WalkingPedestrianCount”int WalkingPedestrianCount { get; }WorldCoordinates
Section titled “WorldCoordinates”bool WorldCoordinates { get; }