tojo.chat

Map embed · web component

Your chats,
on your page

Drop the free tojo-chat-map web component on any site to show public tojo chats on a live Leaflet map — one script tag, no framework, no API key, no login for your visitors.

See all attributes

The map on this page is the component itself, running against the live API.

Live · public chats

Try it with your own chats

Fill in the fields and the snippet rewrites itself — or edit the snippet by hand and the preview follows. Copy it into any HTML page: a standard ES module that registers one custom element.

Attributes

Set at least one of organization-id or chat-ids. Everything else is optional.

AttributeDefaultBehaviour
organization-id—Only chats owned by this organization.
chat-ids—Comma-separated chat ids. Combines with the other filters.
categoriesallComma-separated categories, e.g. EVENT,RESTAURANT.
lat / lng59.33 / 18.07Initial centre of the map.
zoom12Initial zoom level.
use-geolocationfalseCentre on the visitor's position on load, falling back to lat/lng.
allow-locatefalseShow a "my location" button.
allow-scrolltrueLet the visitor pan the map.
allow-zoomtrueLet the visitor zoom. When off, the zoom is locked and the controls are hidden.

What a visitor sees

  • Public chats only

    The map calls the API without a token, so nothing private can leak onto your page.

  • Tap to open in tojo

    An App Link hands the chat to the app; visitors without it land on the App Store or Google Play.

  • Clustered live

    Dense areas collapse into counted bubbles; tapping one lists every chat behind it.

  • Framework-free

    A standard custom element in a shadow root — it cannot collide with your page's CSS.