WrldIndoorControl

The WrldIndoorControl is an optional slider widget for moving between floors within an indoor map.

Dependencies

  • JQuery
  • JQuery UI
  • wrld.css
  • indoor_control.js

The Touch Punch plugin for JQuery UI is also packaged with the Indoor Control to allow touch controls to work automatically across mobile devices.

For a full example of how to add an WrldIndoorControl to a map, see this example.

Constructor

var indoorControl = new WrldIndoorControl("widget-container", map);
Argument Type Description
id string The id of the DOM element to contain the indoor control.
map Wrld.map The map object that this slider controls.
v1.1.0
Props Wrld.Prop
Themes Wrld.themes
Heatmaps Wrld.Heatmap
Events Event objects
Services (Optional) WrldPoiApi