@meridian/web-sdk
    Preparing search index...

    Function createMap

    • Creates and returns a map object mounted at the given HTML element. If you are using the tags.filter or onTagClick or onTagsUpdate functions, refer to https://tags.meridianapps.com/docs/track for the schema.

      const api = new MeridianSDK.API({ token: "<TOKEN>" });
      const map = MeridianSDK.createMap(
      document.querySelector("#map-container"),
      {
      api: api,
      locationID: "<location ID>",
      floorID: "<floor ID>",
      height: "500px"
      }
      );

      Parameters

      Returns MeridianMap