new Go3dMapLoader()
GoMap/Go3dMapLoader/index.ts, line 8
Methods
-
staticGo3dMapLoader.getEnviroment(){string}
GoMap/Go3dMapLoader/index.ts, line 107 -
Gets the current enviroment.
Returns:
Type Description string The enviroment. -
staticGo3dMapLoader.getMap(mapId){GoMap|undefined}
GoMap/Go3dMapLoader/index.ts, line 83 -
Gets a map instance by its ID.
Name Type Description mapIdstring The ID of the map.
Returns:
Type Description GoMap | undefined The map instance, or undefinedif not found. -
staticGo3dMapLoader.getMapConfig(){Go3dMapConfig}
GoMap/Go3dMapLoader/index.ts, line 99 -
Gets the current map configuration.
Returns:
Type Description Go3dMapConfig The map configuration. -
staticGo3dMapLoader.getMaps(){Map.<string, GoMap>}
GoMap/Go3dMapLoader/index.ts, line 91 -
Gets all map instances.
Returns:
Type Description Map.<string, GoMap> A map of all map instances. -
staticGo3dMapLoader.load(params){Promise.<void>}
GoMap/Go3dMapLoader/index.ts, line 27 -
Loads the 3D map configuration and initializes maps.
Name Type Description paramsObject The parameters for loading the map.
Name Type Default Description mapConfigGo3dMapConfig The configuration for the 3D map.
enviromentstring The enviroment in which the map will be loaded.
userTokenstring optional An optional token for the user.
useBackendFeaturesboolean true optional Whether to use backend features.
Returns:
Type Description Promise.<void> A promise that resolves when the maps have been loaded.
