.q2w-share

Share

Share sheet for copying the current viewport, exposing location context, and offering embed or open-map actions.

Preview

Share current viewport
Cirebon · zoom 13 · 4 layers
Public
Center-6.7797, 108.4714
Scale1:25k
ThemeLight
q2w-mapcss.pages.dev/map#13/-6.7797/108.4714

Usage

<div class="q2w-share q2w-share--floating">
  <div class="q2w-share__head">...</div>
  <div class="q2w-share__grid">
    <div class="q2w-share__qr"></div>
    <div class="q2w-share__stats">
      <div class="q2w-share__stat">...</div>
    </div>
  </div>
  <div class="q2w-share__field">...</div>
  <div class="q2w-share__actions">...</div>
</div>

Behavior

The framework styles the share UI while your map runtime provides the actual hash, embed payload, or QR generation. The docs preview demonstrates copy feedback for the primary action.

← Goto Print →