Queue Map Webcomponent

The queue map web component can be added to your website to show your queues on a map.

Installation

Import the script and add the component in your website.

<head>
  ...
  <-- Import element definition and auto-register -->
  <script type="module" src="queue-map-webcomponent.esm.js"></script>
</head>
<body>
  ...
  <-- Profit! -->
  <queue-map center="59.334591,18.063240" zoom="9"></queue-map>
</body>

Configuration parameters

Name Default value Example value Description
center 59.334591,18.063240 59.334591,18.063240 Center of the map to show.
queues null 67578195b4447c276cb0828b, 67578195b4447c276cb0828b Comma separated list of queue id to show on map. If none is specified all public queues will be displayed