Skip to main content

Viewer

The Viewer product embeds a published Kaleidr map by its share id. It is keyless — the share itself is the authorization, so no publishable key is required and no session exchange runs.

The three facts that decide whether it will work

FactAnswer
Doorwayiframe — the map loads inside map-embed.kaleidr.com under Kaleidr's own CSP.
Required scopenone — no key is exchanged.
Minimum planFree — anyone with a share id can embed a Viewer, on any tier.

Passing a key to a Viewer embed rejects with product_not_allowed because Viewer never needs one. share-id is required — omitting it throws at bundle load.

Where the pieces live

The one snippet

Minimum-viable Viewer embed:

<script src="https://cdn.kaleidr.com/embed/v1/kaleidr.js"></script>
<kaleidr-map product="viewer"
share-id="YOUR_SHARE_ID"
style="height:480px"></kaleidr-map>