The queue map web component can be added to your website to show your queues on a map.
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>
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 |