# Angular Map Component

Map shows places on an interactive OpenStreetMap map, with popups rendered by Angular, two-way center and zoom, and a list of the places as its accessible alternative. It uses Leaflet, an optional peer dependency loaded in the browser only: no API key, no account and no stylesheet to add.

## Basic

Give the map a center , as a latitude and a longitude, and a zoom level; markers adds places, each with an id , a position and a title . The tiles come from OpenStreetMap , whose attribution is always shown. The scroll wheel zooms with ctrl or ⌘ held, so that the page keeps scrolling over the map.

```typescript
import { Component } from '@angular/core';
import { MapMarker, MapModule } from '@exhaustive-ui/core/map';

@Component({
    template: `
        <div class="card">
            <p-map [center]="{ lat: 48.8584, lng: 2.2945 }" [zoom]="15" [markers]="markers" height="22rem" ariaLabel="Map of the Eiffel Tower" />
        </div>
    `,
    standalone: true,
    imports: [MapModule]
})
export class MapBasicDemo {
    markers: MapMarker[] = [{ id: 'eiffel', lat: 48.8584, lng: 2.2945, title: 'Eiffel Tower', description: 'Champ de Mars, 7th arrondissement' }];
}
```

## Markers and Popups

A click on a marker, or enter on a focused one, opens its popup. The default popup shows the title and the description of the marker; the popup template replaces it with your own content, rendered by Angular when the popup opens, with its bindings, components and events, never as an HTML string. The data of a marker carries anything else you need.

```typescript
import { Component } from '@angular/core';
import { MapMarker, MapModule } from '@exhaustive-ui/core/map';
import { TagModule } from '@exhaustive-ui/core/tag';

interface Museum {
    district: string;
    since: number;
    website: string;
}

@Component({
    template: `
        <div class="card">
            <p-map [center]="{ lat: 48.8596, lng: 2.3352 }" [zoom]="14" [markers]="museums" height="24rem" ariaLabel="Museums of Paris">
                <ng-template #popup let-marker>
                    <div class="flex flex-col gap-2">
                        <span class="font-semibold text-base">{{ marker.title }}</span>
                        <span class="text-surface-600 dark:text-surface-300">{{ marker.description }}</span>
                        <div class="flex flex-wrap gap-2">
                            <p-tag [value]="marker.data.district" severity="secondary" />
                            <p-tag [value]="'Since ' + marker.data.since" severity="secondary" />
                        </div>
                        <a [href]="marker.data.website" target="_blank" rel="noopener noreferrer" class="text-primary underline">Official website</a>
                    </div>
                </ng-template>
            </p-map>
        </div>
    `,
    standalone: true,
    imports: [MapModule, TagModule]
})
export class MapMarkersDemo {
    museums: MapMarker<Museum>[] = [
        { id: 'louvre', lat: 48.8606, lng: 2.3376, title: 'Louvre Museum', description: 'Antiquities, paintings and the Mona Lisa.', data: { district: '1st arrondissement', since: 1793, website: 'https://www.louvre.fr' } },
        { id: 'orsay', lat: 48.86, lng: 2.3266, title: "Musée d'Orsay", description: 'Impressionist paintings in a former railway station.', data: { district: '7th arrondissement', since: 1986, website: 'https://www.musee-orsay.fr' } },
        { id: 'pompidou', lat: 48.8606, lng: 2.3522, title: 'Centre Pompidou', description: 'Modern and contemporary art.', data: { district: '4th arrondissement', since: 1977, website: 'https://www.centrepompidou.fr' } },
        { id: 'orangerie', lat: 48.8638, lng: 2.3226, title: "Musée de l'Orangerie", description: "Monet's Water Lilies in the Tuileries Garden.", data: { district: '1st arrondissement', since: 1927, website: 'https://www.musee-orangerie.fr' } }
    ];
}
```

## Center, Zoom and Events

center and zoom are two-way: move or zoom the map and they follow, set them and the map moves. onMoveEnd also gives the area shown, as north , south , east and west bounds, to load the places of that area. onMarkerClick is emitted by a click on a marker, enter or space on a focused one, or a choice in the list of places, and onMapClick gives the position of a click elsewhere on the map.

```typescript
import { DecimalPipe } from '@angular/common';
import { Component, signal } from '@angular/core';
import { MapClickEvent, MapLatLng, MapMarker, MapMarkerClickEvent, MapModule } from '@exhaustive-ui/core/map';
import { ButtonModule } from '@exhaustive-ui/core/button';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex flex-wrap gap-2">
                @for (city of cities; track city.name) {
                    <p-button [label]="city.name" severity="secondary" size="small" (onClick)="center.set(city.center); zoom.set(12)" />
                }
            </div>
            <p-map [(center)]="center" [(zoom)]="zoom" [markers]="markers" (onMarkerClick)="onMarker($event)" (onMapClick)="onMap($event)" height="20rem" ariaLabel="City halls of France" />
            <dl class="grid grid-cols-[max-content_1fr] gap-x-4 gap-y-1 m-0 text-sm">
                <dt class="font-medium">Center</dt>
                <dd class="m-0 tabular-nums">{{ center()?.lat | number: '1.4-4' }}, {{ center()?.lng | number: '1.4-4' }}</dd>
                <dt class="font-medium">Zoom</dt>
                <dd class="m-0 tabular-nums">{{ zoom() }}</dd>
                <dt class="font-medium">Last event</dt>
                <dd class="m-0">{{ lastEvent() }}</dd>
            </dl>
        </div>
    `,
    standalone: true,
    imports: [MapModule, ButtonModule, DecimalPipe]
})
export class MapEventsDemo {
    center = signal<MapLatLng | undefined>({ lat: 48.8566, lng: 2.3522 });

    zoom = signal<number | undefined>(12);

    lastEvent = signal('Click a marker or the map');

    cities = [
        { name: 'Paris', center: { lat: 48.8566, lng: 2.3522 } },
        { name: 'Lyon', center: { lat: 45.764, lng: 4.8357 } },
        { name: 'Marseille', center: { lat: 43.2965, lng: 5.3698 } }
    ];

    markers: MapMarker[] = [
        { id: 'paris', lat: 48.8566, lng: 2.3522, title: 'Paris City Hall' },
        { id: 'lyon', lat: 45.7676, lng: 4.8344, title: 'Lyon City Hall' },
        { id: 'marseille', lat: 43.2961, lng: 5.3699, title: 'Marseille City Hall' }
    ];

    onMarker(event: MapMarkerClickEvent) {
        this.lastEvent.set(`onMarkerClick: ${event.marker.title}`);
    }

    onMap(event: MapClickEvent) {
        this.lastEvent.set(`onMapClick: ${event.lat.toFixed(4)}, ${event.lng.toFixed(4)}`);
    }
}
```

## Fit to Markers

With fitMarkers , the map shows all the markers each time they change, instead of using center and zoom . A map without center also fits its markers at first, and shows the world when it has none. The fitToMarkers method does the same on demand.

```typescript
import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { MapMarker, MapModule } from '@exhaustive-ui/core/map';
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex flex-wrap items-center gap-3">
                <span id="tour-label" class="font-medium">Tour</span>
                <p-select-button [options]="tours" [(ngModel)]="tour" optionLabel="label" optionValue="value" [allowEmpty]="false" ariaLabelledBy="tour-label" />
            </div>
            <p-map [markers]="tours[tour()].places" fitMarkers height="22rem" ariaLabel="Tour of Paris" />
        </div>
    `,
    standalone: true,
    imports: [MapModule, FormsModule, SelectButtonModule]
})
export class MapFitDemo {
    tour = signal(0);

    tours: { label: string; value: number; places: MapMarker[] }[] = [
        {
            label: 'Left Bank',
            value: 0,
            places: [
                { id: 'eiffel', lat: 48.8584, lng: 2.2945, title: 'Eiffel Tower' },
                { id: 'invalides', lat: 48.8565, lng: 2.3125, title: 'Les Invalides' },
                { id: 'pantheon', lat: 48.8462, lng: 2.3464, title: 'Panthéon' },
                { id: 'luxembourg', lat: 48.8462, lng: 2.3372, title: 'Luxembourg Garden' }
            ]
        },
        {
            label: 'Right Bank',
            value: 1,
            places: [
                { id: 'arc', lat: 48.8738, lng: 2.295, title: 'Arc de Triomphe' },
                { id: 'opera', lat: 48.872, lng: 2.3316, title: 'Palais Garnier' },
                { id: 'sacre-coeur', lat: 48.8867, lng: 2.3431, title: 'Sacré-Cœur' },
                { id: 'vosges', lat: 48.8556, lng: 2.3655, title: 'Place des Vosges' }
            ]
        },
        {
            label: 'Day trips',
            value: 2,
            places: [
                { id: 'versailles', lat: 48.8049, lng: 2.1204, title: 'Palace of Versailles' },
                { id: 'fontainebleau', lat: 48.4021, lng: 2.6996, title: 'Palace of Fontainebleau' },
                { id: 'giverny', lat: 49.0754, lng: 1.5336, title: "Monet's House and Gardens, Giverny" }
            ]
        }
    ];
}
```

## Tile Source

By default the map shows the standard OpenStreetMap tiles, https://tile.openstreetmap.org/{{ '{' }}z{{ '}' }}/{{ '{' }}x{{ '}' }}/{{ '{' }}y{{ '}' }}.png , with the attribution their license requires, © OpenStreetMap contributors , which cannot be removed with these tiles. No key and no account are needed. These tiles are run by volunteers, and the OpenStreetMap tile usage policy forbids heavy traffic: they are fine for development, demos and light use. For an application with real traffic, point tileUrl at your own tile server, which you can build from the OpenStreetMap data, or at another tile provider whose terms you accept, and give its attribution , as trusted HTML. minZoom and maxZoom follow the zoom levels of the source, and a null tileUrl shows no tiles, for a map whose layers you add yourself.

## Scroll Wheel and Static Map

scrollWheelZoom decides when the wheel zooms the map. By default, 'ctrl' , it zooms with ctrl or ⌘ held, and a plain wheel scrolls the page with a short hint over the map, so that a long page never gets stuck on it; true always zooms and false never does. With interactive set to false, the map is a static view: it cannot be dragged nor zoomed, has no zoom buttons and leaves the tab sequence, while its markers still open their popups. When the user prefers reduced motion, the map moves and zooms without animation.

```typescript
import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { MapMarker, MapModule, MapScrollWheelZoom } from '@exhaustive-ui/core/map';
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
import { ToggleSwitchModule } from '@exhaustive-ui/core/toggleswitch';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex flex-wrap items-center gap-6">
                <div class="flex items-center gap-3">
                    <span id="wheel-label" class="font-medium">Scroll wheel</span>
                    <p-select-button [options]="wheelOptions" [(ngModel)]="wheel" optionLabel="label" optionValue="value" [allowEmpty]="false" ariaLabelledBy="wheel-label" />
                </div>
                <div class="flex items-center gap-3">
                    <p-toggle-switch [(ngModel)]="interactive" inputId="map-interactive" />
                    <label for="map-interactive" class="font-medium">Interactive</label>
                </div>
            </div>
            <p-map [center]="{ lat: 48.8867, lng: 2.3431 }" [zoom]="15" [markers]="markers" [scrollWheelZoom]="wheel()" [interactive]="interactive()" height="20rem" ariaLabel="Montmartre" />
        </div>
    `,
    standalone: true,
    imports: [MapModule, FormsModule, SelectButtonModule, ToggleSwitchModule]
})
export class MapInteractionDemo {
    wheel = signal<MapScrollWheelZoom>('ctrl');

    interactive = signal(true);

    wheelOptions = [
        { label: 'With Ctrl or ⌘', value: 'ctrl' },
        { label: 'Always', value: true },
        { label: 'Never', value: false }
    ];

    markers: MapMarker[] = [{ id: 'sacre-coeur', lat: 48.8867, lng: 2.3431, title: 'Sacré-Cœur', description: 'Basilica at the top of the Montmartre hill' }];
}
```

## Template

The marker template replaces the default pin, anchored on the position of the marker by its bottom center, and the item template the content of a place in the list. Both receive the marker. The marker stays a button named by its title , so the visible text of the template has to be part of the title, as the line numbers here.

```typescript
import { Component } from '@angular/core';
import { MapMarker, MapModule } from '@exhaustive-ui/core/map';

interface Station {
    line: string;
    color: string;
}

@Component({
    template: `
        <div class="card">
            <p-map [center]="{ lat: 48.8625, lng: 2.3334 }" [zoom]="14" [markers]="stations" list="visible" height="20rem" ariaLabel="Metro stations near the Louvre">
                <ng-template #marker let-marker>
                    <span class="inline-flex items-center justify-center min-w-8 h-8 px-2 rounded-full text-sm font-bold text-white shadow-md border-2 border-white" [style.background]="marker.data.color">{{ marker.data.line }}</span>
                </ng-template>
                <ng-template #item let-marker>
                    <span class="inline-flex items-center gap-3">
                        <span class="inline-flex items-center justify-center w-6 h-6 rounded-full text-xs font-bold text-white" [style.background]="marker.data.color" aria-hidden="true">{{ marker.data.line }}</span>
                        <span>{{ marker.title }}</span>
                    </span>
                </ng-template>
            </p-map>
        </div>
    `,
    standalone: true,
    imports: [MapModule]
})
export class MapTemplateDemo {
    stations: MapMarker<Station>[] = [
        { id: 'palais-royal', lat: 48.8625, lng: 2.3364, title: 'Palais Royal – Musée du Louvre, line 1', data: { line: '1', color: '#8a6d00' } },
        { id: 'pyramides', lat: 48.8657, lng: 2.3346, title: 'Pyramides, line 14', data: { line: '14', color: '#62259d' } },
        { id: 'tuileries', lat: 48.8645, lng: 2.3295, title: 'Tuileries, line 1', data: { line: '1', color: '#8a6d00' } },
        { id: 'pont-neuf', lat: 48.8585, lng: 2.3419, title: 'Pont Neuf, line 7', data: { line: '7', color: '#b0477c' } }
    ];
}
```

## Leaflet API

onReady gives the Leaflet map and the Leaflet namespace once the map is ready, for everything the inputs do not cover: lines, areas, GeoJSON or any Leaflet plugin. Install @types/leaflet to type them. Here a walk along the Seine is drawn with a polyline.

```typescript
import { Component } from '@angular/core';
import { MapMarker, MapModule, MapReadyEvent } from '@exhaustive-ui/core/map';

@Component({
    template: `
        <div class="card">
            <p-map [markers]="stops" fitMarkers (onReady)="drawWalk($event)" height="20rem" ariaLabel="Walk along the Seine" />
        </div>
    `,
    standalone: true,
    imports: [MapModule]
})
export class MapLeafletDemo {
    stops: MapMarker[] = [
        { id: 'notre-dame', lat: 48.853, lng: 2.3499, title: 'Notre-Dame de Paris' },
        { id: 'pont-neuf', lat: 48.8572, lng: 2.3413, title: 'Pont Neuf' },
        { id: 'orsay', lat: 48.86, lng: 2.3266, title: "Musée d'Orsay" },
        { id: 'concorde', lat: 48.8656, lng: 2.3212, title: 'Place de la Concorde' }
    ];

    drawWalk({ map, leaflet }: MapReadyEvent) {
        leaflet
            .polyline(
                this.stops.map((stop) => [stop.lat, stop.lng]),
                { color: '#e11d48', weight: 4, dashArray: '6 8' }
            )
            .addTo(map);
    }
}
```

## Accessibility

List of Places A map is hard to use without sight, so the places it shows are also given as text: a list below the map, shown and hidden by a List of places button with aria-expanded . Each place is a button with its title and its description; choosing one moves the map to it and opens its popup, and with the keyboard the focus goes into the popup. list set to 'visible' always shows the list, and 'none' removes it, when the page already lists the places elsewhere. The list is rendered on the server too, before Leaflet is loaded. Screen Reader The map is a region with the map role description, named by ariaLabel , ariaLabelledBy or the map label (give each map of a page its own name), and described by keyboard instructions. Each marker is a button named by its title , with aria-haspopup and aria-expanded ; its popup is a dialog named by the same title, whose close button is labelled. The zoom buttons are named Zoom in and Zoom out , from the zoomIn and zoomOut aria texts of the translation configuration, and a polite live region announces the new zoom level. While Leaflet loads, the map is aria-busy with a loading status, and an alert tells when it could not be loaded. Every text comes from the labels input: the map name and role description, the instructions, the zoom buttons, the close button, the zoom announcement, the scroll hint, the loading and error messages, and the list texts.

## Pass Through Options

| Name | Type | Description |
|------|------|-------------|
| root | PassThroughOption<HTMLElement, I> | Used to pass attributes to the root's DOM element. |
| viewport | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the frame around the map, its loading placeholder and its error. |
| container | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the element that holds the Leaflet map. |
| loading | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the placeholder shown while Leaflet loads. |
| error | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the message shown when Leaflet could not be loaded. |
| scrollHint | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the hint shown when the page is scrolled over the map. |
| marker | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the content of a default marker. |
| popup | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the content of the default popup. |
| popupTitle | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the title of the default popup. |
| popupDescription | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the description of the default popup. |
| listToggle | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the button that shows and hides the list of places. |
| list | PassThroughOption<HTMLUListElement, I> | Used to pass attributes to the list of places. |
| listItem | PassThroughOption<HTMLLIElement, I> | Used to pass attributes to the items of the list of places. |
| listButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the buttons of the list of places. |

## Theming

### CSS Classes

| Class | Description |
|-------|-------------|
| p-map | Class name of the root element |
| p-map-ready | Class name of the root element once the map is ready |
| p-map-loading | Class name of the root element while Leaflet loads |
| p-map-error | Class name of the root element when Leaflet could not be loaded |
| p-map-static | Class name of the root element of a map that cannot be moved or zoomed |
| p-map-viewport | Class name of the frame around the map |
| p-map-container | Class name of the element that holds the Leaflet map |
| p-map-loading-placeholder | Class name of the placeholder shown while Leaflet loads |
| p-map-error-message | Class name of the message shown when Leaflet could not be loaded |
| p-map-scroll-hint | Class name of the hint shown when the page is scrolled over the map |
| p-map-marker | Class name of a marker |
| p-map-marker-content | Class name of the content of a marker |
| p-map-marker-pin | Class name of the pin of a default marker |
| p-map-marker-active | Class name of the marker whose popup is open |
| p-map-popup-container | Class name of the popup |
| p-map-popup | Class name of the content of the default popup |
| p-map-popup-title | Class name of the title of the default popup |
| p-map-popup-description | Class name of the description of the default popup |
| p-map-list-toggle | Class name of the button that shows and hides the list of places |
| p-map-list | Class name of the list of places |
| p-map-list-item | Class name of an item of the list of places |
| p-map-list-button | Class name of the button of an item of the list of places |

### Design Tokens

| Token | CSS Variable | Description |
|-------|--------------|-------------|
| map.height | --p-map-height | Height of the map when the height input is not set |
| map.gap | --p-map-gap | Gap between the map, the list toggle and the list of places |
| map.background | --p-map-background | Background of the map behind the tiles |
| map.border.color | --p-map-border-color | Border color of the map |
| map.border.radius | --p-map-border-radius | Border radius of the map |
| map.font.size | --p-map-font-size | Font size of the texts inside the map |
| map.transition.duration | --p-map-transition-duration | Transition duration of the component |
| map.focus.ring.width | --p-map-focus-ring-width | Focus ring width of the map |
| map.focus.ring.style | --p-map-focus-ring-style | Focus ring style of the map |
| map.focus.ring.color | --p-map-focus-ring-color | Focus ring color of the map |
| map.focus.ring.offset | --p-map-focus-ring-offset | Focus ring offset of the map |
| map.focus.ring.shadow | --p-map-focus-ring-shadow | Focus ring shadow of the map |
| map.message.font.size | --p-map-message-font-size | Font size of the loading and error messages |
| map.loading.background | --p-map-loading-background | Background of the placeholder shown while Leaflet loads |
| map.loading.highlight.background | --p-map-loading-highlight-background | Background of the moving highlight of the loading placeholder |
| map.loading.color | --p-map-loading-color | Text color of the loading placeholder |
| map.loading.icon.size | --p-map-loading-icon-size | Size of the icon of the loading placeholder |
| map.error.background | --p-map-error-background | Background of the message shown when Leaflet could not be loaded |
| map.error.color | --p-map-error-color | Text color of the message shown when Leaflet could not be loaded |
| map.scroll.hint.background | --p-map-scroll-hint-background | Background of the hint shown when the page is scrolled over the map |
| map.scroll.hint.color | --p-map-scroll-hint-color | Text color of the scroll hint |
| map.scroll.hint.font.size | --p-map-scroll-hint-font-size | Font size of the scroll hint |
| map.scroll.hint.font.weight | --p-map-scroll-hint-font-weight | Font weight of the scroll hint |
| map.tile.filter | --p-map-tile-filter | CSS filter of the tiles, for example to dim them in dark mode |
| map.zoom.box.background | --p-map-zoom-box-background | Background of the box drawn with Shift and drag to zoom |
| map.zoom.box.border.color | --p-map-zoom-box-border-color | Border color of the zoom box |
| map.marker.background | --p-map-marker-background | Fill color of the default marker |
| map.marker.active.background | --p-map-marker-active-background | Fill color of the default marker whose popup is open |
| map.marker.border.color | --p-map-marker-border-color | Outline color of the default marker |
| map.marker.dot.color | --p-map-marker-dot-color | Color of the dot in the default marker |
| map.marker.border.radius | --p-map-marker-border-radius | Border radius of the focus ring of a marker |
| map.marker.focus.ring.width | --p-map-marker-focus-ring-width | Focus ring width of a marker |
| map.marker.focus.ring.style | --p-map-marker-focus-ring-style | Focus ring style of a marker |
| map.marker.focus.ring.color | --p-map-marker-focus-ring-color | Focus ring color of a marker |
| map.marker.focus.ring.offset | --p-map-marker-focus-ring-offset | Focus ring offset of a marker |
| map.marker.focus.ring.shadow | --p-map-marker-focus-ring-shadow | Focus ring shadow of a marker |
| map.control.size | --p-map-control-size | Size of the zoom buttons |
| map.control.margin | --p-map-control-margin | Distance between the controls and the edges of the map |
| map.control.background | --p-map-control-background | Background of the zoom buttons |
| map.control.hover.background | --p-map-control-hover-background | Background of a hovered zoom button |
| map.control.color | --p-map-control-color | Text color of the zoom buttons |
| map.control.hover.color | --p-map-control-hover-color | Text color of a hovered zoom button |
| map.control.disabled.color | --p-map-control-disabled-color | Text color of a disabled zoom button |
| map.control.border.color | --p-map-control-border-color | Border color of the zoom buttons |
| map.control.border.radius | --p-map-control-border-radius | Border radius of the zoom buttons |
| map.control.shadow | --p-map-control-shadow | Shadow of the controls |
| map.control.font.size | --p-map-control-font-size | Font size of the zoom buttons |
| map.control.focus.ring.width | --p-map-control-focus-ring-width | Focus ring width of the controls |
| map.control.focus.ring.style | --p-map-control-focus-ring-style | Focus ring style of the controls |
| map.control.focus.ring.color | --p-map-control-focus-ring-color | Focus ring color of the controls |
| map.control.focus.ring.offset | --p-map-control-focus-ring-offset | Focus ring offset of the controls |
| map.control.focus.ring.shadow | --p-map-control-focus-ring-shadow | Focus ring shadow of the controls |
| map.attribution.background | --p-map-attribution-background | Background of the attribution |
| map.attribution.color | --p-map-attribution-color | Text color of the attribution |
| map.attribution.link.color | --p-map-attribution-link-color | Color of the links of the attribution |
| map.attribution.font.size | --p-map-attribution-font-size | Font size of the attribution |
| map.attribution.padding | --p-map-attribution-padding | Padding of the attribution |
| map.attribution.border.radius | --p-map-attribution-border-radius | Border radius of the inner corner of the attribution |
| map.popup.background | --p-map-popup-background | Background of a popup |
| map.popup.border.color | --p-map-popup-border-color | Border color of a popup |
| map.popup.color | --p-map-popup-color | Text color of a popup |
| map.popup.border.radius | --p-map-popup-border-radius | Border radius of a popup |
| map.popup.shadow | --p-map-popup-shadow | Shadow of a popup |
| map.popup.padding | --p-map-popup-padding | Padding of the content of a popup |
| map.popup.gap | --p-map-popup-gap | Gap between the title and the description of the default popup |
| map.popup.font.size | --p-map-popup-font-size | Font size of a popup |
| map.popup.focus.ring.width | --p-map-popup-focus-ring-width | Focus ring width of a popup |
| map.popup.focus.ring.style | --p-map-popup-focus-ring-style | Focus ring style of a popup |
| map.popup.focus.ring.color | --p-map-popup-focus-ring-color | Focus ring color of a popup |
| map.popup.focus.ring.offset | --p-map-popup-focus-ring-offset | Focus ring offset of a popup |
| map.popup.focus.ring.shadow | --p-map-popup-focus-ring-shadow | Focus ring shadow of a popup |
| map.popup.title.font.size | --p-map-popup-title-font-size | Font size of the title of the default popup |
| map.popup.title.font.weight | --p-map-popup-title-font-weight | Font weight of the title of the default popup |
| map.popup.description.color | --p-map-popup-description-color | Text color of the description of the default popup |
| map.popup.close.button.size | --p-map-popup-close-button-size | Size of the close button of a popup |
| map.popup.close.button.color | --p-map-popup-close-button-color | Color of the close button of a popup |
| map.popup.close.button.hover.color | --p-map-popup-close-button-hover-color | Color of a hovered close button |
| map.popup.close.button.hover.background | --p-map-popup-close-button-hover-background | Background of a hovered close button |
| map.list.toggle.gap | --p-map-list-toggle-gap | Gap between the icon and the text of the list toggle |
| map.list.toggle.padding | --p-map-list-toggle-padding | Padding of the list toggle |
| map.list.toggle.background | --p-map-list-toggle-background | Background of the list toggle |
| map.list.toggle.hover.background | --p-map-list-toggle-hover-background | Background of the hovered list toggle |
| map.list.toggle.color | --p-map-list-toggle-color | Text color of the list toggle |
| map.list.toggle.hover.color | --p-map-list-toggle-hover-color | Text color of the hovered list toggle |
| map.list.toggle.border.color | --p-map-list-toggle-border-color | Border color of the list toggle |
| map.list.toggle.border.radius | --p-map-list-toggle-border-radius | Border radius of the list toggle |
| map.list.toggle.font.size | --p-map-list-toggle-font-size | Font size of the list toggle |
| map.list.toggle.font.weight | --p-map-list-toggle-font-weight | Font weight of the list toggle |
| map.list.padding | --p-map-list-padding | Padding of the list of places |
| map.list.gap | --p-map-list-gap | Gap between the places of the list |
| map.list.background | --p-map-list-background | Background of the list of places |
| map.list.border.color | --p-map-list-border-color | Border color of the list of places |
| map.list.border.radius | --p-map-list-border-radius | Border radius of the list of places |
| map.list.focus.ring.width | --p-map-list-focus-ring-width | Focus ring width of the list toggle and the places of the list |
| map.list.focus.ring.style | --p-map-list-focus-ring-style | Focus ring style of the list toggle and the places of the list |
| map.list.focus.ring.color | --p-map-list-focus-ring-color | Focus ring color of the list toggle and the places of the list |
| map.list.focus.ring.offset | --p-map-list-focus-ring-offset | Focus ring offset of the list toggle and the places of the list |
| map.list.focus.ring.shadow | --p-map-list-focus-ring-shadow | Focus ring shadow of the list toggle and the places of the list |
| map.list.item.padding | --p-map-list-item-padding | Padding of a place of the list |
| map.list.item.border.radius | --p-map-list-item-border-radius | Border radius of a place of the list |
| map.list.item.color | --p-map-list-item-color | Text color of a place of the list |
| map.list.item.hover.background | --p-map-list-item-hover-background | Background of a hovered place of the list |
| map.list.item.active.background | --p-map-list-item-active-background | Background of the place whose popup is open |
| map.list.item.active.color | --p-map-list-item-active-color | Text color of the place whose popup is open |
| map.list.item.font.size | --p-map-list-item-font-size | Font size of a place of the list |
| map.list.item.title.font.weight | --p-map-list-item-title-font-weight | Font weight of the title of a place of the list |
| map.list.item.description.color | --p-map-list-item-description-color | Text color of the description of a place of the list |

