Adding the Indoor Control to a map

Display a slider for moving between floors. Click the blue door marker to enter an indoor map. Use the button above the slider to exit.

This is an optional component with a few dependencies. To use it, you will have to include wrld.css and indoor_control.js, along with JQuery and JQuery UI, as shown in the code sample below.

    <script src=""></script>
    <link href="" rel="stylesheet" />

    <link href="" rel="stylesheet"/>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
  <div style="position: relative">
    <div id="widget-container" class="wrld-widget-container"></div>
    <div id="map" style="height: 400px"></div>
      var map ="map", "your_api_key_here", {
        center: [37.782276519634706, -122.40476157895424],
        zoom: 17,
        indoorsEnabled: true

      var indoorControl = new WrldIndoorControl("widget-container", map);