Map
Explorador interativo em breve para este componente.
| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
| className | string | — | Altura e largura do mapa (obrigatório algo como h-[420px] w-full). |
| defaultCenter | LngLat | Lavras, MG (demo) | Centro inicial [longitude, latitude]. |
| defaultZoom | number | 11 | Zoom inicial. |
| mapStyle | string | StyleSpecification | — | Style MapLibre (URL ou JSON). Omitido: pickMapStyle. Presets: resolveBasemapStyle. |
| MapMarker.lngLat | LngLat | — | Posição do marcador [lng, lat]. |
| MapMarker.label | string | — | Rótulo opcional abaixo do pin. |
| MapPopup.lngLat | LngLat | — | Ancoragem do popup. |
| MapControls.showZoom | boolean | true | Botões de zoom com estilo Marsala. |
| MapControls.showLocate | boolean | true | Botão de geolocalização do navegador. |
| MapControls.showFullscreen | boolean | true | Botão de tela cheia no container do mapa. |
| resolveMapStyle | function | — | Helper em map-style.ts: prop → NEXT_PUBLIC_MAP_STYLE_URL → demo. |