PluginOptions | MapGL | Urbi Documentation
MapGL JS API

PluginOptions

Options for the plugin.

Properties

Settings for floors' control.

undefinedstring

Color for the ground covering when an underground floor's plan is shown.

Settings of hovered models.

Defaults for any label group used when such options aren't specified in label group options directly.

undefinednumber

Maximum display styleZoom for all models.

undefinednumber

Minimum display styleZoom for all models.

undefinedstring

A URL which is used for resolving of a model's relative path.

"dontWaitAll""waitAll"

Strategies for loading and rendering of models:

  • dontWaitAll - show every model on its loading completion. In case of a realty scene it allows to download less data and show every model in the scene as soon as possible, but there will be a delay between switching floor plans if they are not loaded.
  • waitAll - show models only when all models are loaded. In case of a realty scene it leads to an increase in amount of loaded data and time of rendering scene, but it allows to avoid a delay between switching floor plans.
undefinednumber

A distance to the camera the models get transparent from. It's set in units along Z axis of the WebGL space.

undefinednumber

Draw order of plugin objects (models and labels). It may be useful when other map objects (such as markers, shapes, etc.) need to be added on the map so that user could manage draw order of the plugin and these objects.