# @mapcairn/map

The accessible React map interface of MapCairn: map controls, panels, search, measure and draw tools.

Checked against version 0.2.0. Install it with `npm install @mapcairn/map`; import from `@mapcairn/map`.

## Components

- [`AccuracyCircle`](https://docs.mapcairn.com/api/map/AccuracyCircle.md): The circle around a found location, sized from the ground resolution at its latitude so it matches the real accuracy at every zoom (on a globe, the resolution…
- [`Attribution`](https://docs.mapcairn.com/api/map/Attribution.md): The map credits for the bottom-end slot: a compact "Map credits" button (a 44 px target around a small info glyph) that expands into a labelled region of…
- [`AttributionSkeleton`](https://docs.mapcairn.com/api/map/AttributionSkeleton.md): The credits button as a decorative stand-in for the server-rendered ChromeSkeleton: the same anchor and icon classes as Attribution, so it sits in the same…
- [`BasemapAvailabilityProvider`](https://docs.mapcairn.com/api/map/BasemapAvailabilityProvider.md): Keeps which basemaps are not working, for the picker (which disables their tiles) and for the app (which marks a basemap whose tiles all failed).
- [`BasemapPicker`](https://docs.mapcairn.com/api/map/BasemapPicker.md): Chooses the basemap: a three-across grid of previews as a radio group, one tile for each basemap the host offers (useBasemaps).
- [`Button`](https://docs.mapcairn.com/api/map/Button.md): A text button, 48 px tall at least.
- [`CentreCrosshair`](https://docs.mapcairn.com/api/map/CentreCrosshair.md): A small crosshair at the centre of the map, shown while measuring so "Add point at map centre" has a visible target.
- [`Chip`](https://docs.mapcairn.com/api/map/Chip.md): A small pill.
- [`ChromeLayoutProvider`](https://docs.mapcairn.com/api/map/ChromeLayoutProvider.md): Provides layout facts and the edge-publishing callbacks.
- [`ChromeSkeleton`](https://docs.mapcairn.com/api/map/ChromeSkeleton.md): The server-rendered stand-in for MapChrome: the search pill, the map controls, the zoom group on a device with a fine pointer and the credits button, each in…
- [`ControlGroup`](https://docs.mapcairn.com/api/map/ControlGroup.md): Icon buttons stacked on one floating surface, separated by hairlines.
- [`CursorCoordinates`](https://docs.mapcairn.com/api/map/CursorCoordinates.md): The position under the pointer and the zoom level, as plain muted text with tabular figures.
- [`DirectionsOverlay`](https://docs.mapcairn.com/api/map/DirectionsOverlay.md): The stops of a set of directions, drawn as lettered discs, and the crosshair that shows where the next stop goes when it is added at the map centre.
- [`DirectionsPanel`](https://docs.mapcairn.com/api/map/DirectionsPanel.md): The directions tool's panel, for the sheet or side panel: the stops (added by tapping the map, at the map centre, from a place search or from the dropped pin,…
- [`DrawMapBindings`](https://docs.mapcairn.com/api/map/DrawMapBindings.md): Connects the draw tool to the live map without drawing anything: it gives the adapter the handles of the selected shape, and passes the adapter's handle…
- [`DrawOverlay`](https://docs.mapcairn.com/api/map/DrawOverlay.md): The draw tool's drawing: every shape with its fill and outline, the unfinished one dashed, the selected one drawn heavier, a dashed preview of the next edge,…
- [`DrawToolbar`](https://docs.mapcairn.com/api/map/DrawToolbar.md): The draw toolbar: a switch for what to draw, the name and measures of the shape under way or selected, buttons to add a point at the map centre, undo, redo,…
- [`EmptyState`](https://docs.mapcairn.com/api/map/EmptyState.md): What a list or panel shows when it has nothing to show: an icon, a real heading, an explanation and an optional action.
- [`EndStack`](https://docs.mapcairn.com/api/map/EndStack.md): The end-stack slot content, a landmark named "Map tools" holding, top to bottom: the compass (only while the map is rotated and the engine can rotate), the…
- [`EndStackSkeleton`](https://docs.mapcairn.com/api/map/EndStackSkeleton.md): The end stack as a decorative stand-in for the server-rendered ChromeSkeleton: the same column, groups and buttons as EndStack, with the Map options, Measure,…
- [`ExportSection`](https://docs.mapcairn.com/api/map/ExportSection.md): Saves the map as it looks now, with its layers and credits, as a PNG file.
- [`FeatureCard`](https://docs.mapcairn.com/api/map/FeatureCard.md): The card for one feature, drawn from its definition's card template (a feed's own, or the identify card of a tile layer): the title, for a feed layer the…
- [`FocusRegistryProvider`](https://docs.mapcairn.com/api/map/FocusRegistryProvider.md): Remembers the elements that open surfaces, so closing a surface can put focus back on the control that opened it, or on the map when that control is gone.
- [`HelpSection`](https://docs.mapcairn.com/api/map/HelpSection.md): Help: what the search box accepts, the keyboard shortcuts, a statement of the accessibility target and, when the host supplies one, its About block.
- [`Icon`](https://docs.mapcairn.com/api/map/Icon.md): Draws one icon at the system size and stroke width.
- [`IconButton`](https://docs.mapcairn.com/api/map/IconButton.md): A button that shows only an icon.
- [`IdentifyStatus`](https://docs.mapcairn.com/api/map/IdentifyStatus.md): The line a host shows in the bottom-centre slot while a tap's lookup is taking time ("Looking up what is here"): show it when…
- [`Isolate`](https://docs.mapcairn.com/api/map/Isolate.md): Keeps a run of text in its own bidirectional context.
- [`LayerItem`](https://docs.mapcairn.com/api/map/LayerItem.md): One layer in the Layers section: its switch, and while it is on, its status, controls, legend, disclaimer and list.
- [`LayerKey`](https://docs.mapcairn.com/api/map/LayerKey.md): A layer's key: one row for each colour, shape or class its style draws, with the same glyph the map uses and the words for it.
- [`LayersSection`](https://docs.mapcairn.com/api/map/LayersSection.md): The Layers section of the sheet and side panel, drawn entirely from the layer definitions: a switch per layer with its data cost, and while a layer is on, its…
- [`ListRow`](https://docs.mapcairn.com/api/map/ListRow.md): A list item for lists of places, layers and options.
- [`LiveRegionProvider`](https://docs.mapcairn.com/api/map/LiveRegionProvider.md): Mounts the one app-wide announcer: a visually hidden polite status region and a visually hidden assertive alert region.
- [`MapChrome`](https://docs.mapcairn.com/api/map/MapChrome.md): The one owner of everything floating over the map.
- [`MapDataLayers`](https://docs.mapcairn.com/api/map/MapDataLayers.md): Draws the layers that are on, and a shown affected area, through the map adapter, and turns a tap on a point into an open card.
- [`MapDirections`](https://docs.mapcairn.com/api/map/MapDirections.md): Draws a route as a line with a white casing, or a travel-time area as an outlined, tinted shape, through the map adapter's shape layers, and fits the map to…
- [`MapKey`](https://docs.mapcairn.com/api/map/MapKey.md): The key to the layers that are on, for the map itself: a panel named "Map key" with one block for each layer that has a key, so a person can read what the…
- [`MapOverlayLayer`](https://docs.mapcairn.com/api/map/MapOverlayLayer.md): The single layer every map overlay draws into: one SVG spanning the map host, above the engine and below the chrome.
- [`MapReadout`](https://docs.mapcairn.com/api/map/MapReadout.md): The bottom-start readout: the scale bar with the cursor coordinates and zoom level under it.
- [`MapView`](https://docs.mapcairn.com/api/map/MapView.md): The engine host: the map region and the single focus stop of the map.
- [`MarkerGlyph`](https://docs.mapcairn.com/api/map/MarkerGlyph.md): The marker a layer draws for a feature, as a small picture for the legend, the list and the card, so words and map look the same: the fill over a dark edge…
- [`MeasureOverlay`](https://docs.mapcairn.com/api/map/MeasureOverlay.md): The measuring tool's drawing: vertices, the line between them and, for an area, the closed polygon and its fill.
- [`MeasureToolbar`](https://docs.mapcairn.com/api/map/MeasureToolbar.md): The measure toolbar: a Distance or Area switch, the running total, buttons to add a point at the map centre, undo and clear, and Done.
- [`PinCard`](https://docs.mapcairn.com/api/map/PinCard.md): The content of the pin surface: a heading, the coordinates as selectable text, "Copy coordinates" and "Clear pin" buttons, and an address lookup that the user…
- [`PinMarker`](https://docs.mapcairn.com/api/map/PinMarker.md): A dropped pin, drawn in the overlay layer and re-projected whenever the view changes.
- [`PinSection`](https://docs.mapcairn.com/api/map/PinSection.md): The pin: a button that drops a pin at the centre of the map, which is the button equivalent of a long press and of the P key, and a note while a pin is on the…
- [`ScaleBar`](https://docs.mapcairn.com/api/map/ScaleBar.md): A scale bar drawn straight on the map: a thin line with end ticks and a haloed label, re-computed whenever the view changes.
- [`SearchPill`](https://docs.mapcairn.com/api/map/SearchPill.md): The floating search pill: a 48px pill holding an ARIA 1.2 combobox and a Search button, with the results in a listbox just below it.
- [`SearchPillSkeleton`](https://docs.mapcairn.com/api/map/SearchPillSkeleton.md): The search pill as a decorative stand-in for the server-rendered ChromeSkeleton: the same wrapper, pill and input classes as SearchPill, so it fills the same…
- [`Section`](https://docs.mapcairn.com/api/map/Section.md): A titled block of the sheet: a section named by a real heading.
- [`SegmentedControl`](https://docs.mapcairn.com/api/map/SegmentedControl.md): A single-choice control that shows all options at once, built on the Radix ToggleGroup in single mode.
- [`SelectionMarker`](https://docs.mapcairn.com/api/map/SelectionMarker.md): A ring around the point whose card is open, so the card and the map agree on which one it is.
- [`SelectionProvider`](https://docs.mapcairn.com/api/map/SelectionProvider.md): Hands the selected set down to the components that show or change it, so none needs a prop for it.
- [`ServicesProvider`](https://docs.mapcairn.com/api/map/ServicesProvider.md): Makes the app's services available to every component below it.
- [`SettingsSection`](https://docs.mapcairn.com/api/map/SettingsSection.md): The settings: theme, units, map shape (flat or globe), language (only when the host offers more than one; see LanguageField) and zoom buttons, a note when…
- [`ShapesSection`](https://docs.mapcairn.com/api/map/ShapesSection.md): The shapes the person has drawn: a list where each row selects a shape (so it can be edited with the keyboard from the draw tool), buttons to delete the…
- [`Sheet`](https://docs.mapcairn.com/api/map/Sheet.md): The map options surface: a bottom sheet with peek, half and full detents on narrow screens, and a floating side panel in the panel layout.
- [`SheetContent`](https://docs.mapcairn.com/api/map/SheetContent.md): Everything inside the sheet, under its own h2 title, each part a section named by an h3.
- [`SkipLink`](https://docs.mapcairn.com/api/map/SkipLink.md): The first focusable element on the page.
- [`Slider`](https://docs.mapcairn.com/api/map/Slider.md): A single-thumb slider built on the Radix Slider primitive, with a visible label and a visible value readout.
- [`StatusMessage`](https://docs.mapcairn.com/api/map/StatusMessage.md): A toast or banner: an icon, text and a dismiss button, so the variant is never conveyed by colour alone.
- [`StatusMessageFocusProvider`](https://docs.mapcairn.com/api/map/StatusMessageFocusProvider.md): Says where focus goes when a StatusMessage below it goes away and focus cannot return to where it came from.
- [`Subheading`](https://docs.mapcairn.com/api/map/Subheading.md): A heading for a group inside a section, such as Privacy or Keyboard.
- [`Surface`](https://docs.mapcairn.com/api/map/Surface.md): A translucent surface with backdrop blur, used by every floating control.
- [`Switch`](https://docs.mapcairn.com/api/map/Switch.md): A labelled on/off switch built on the Radix Switch primitive.
- [`Tooltip`](https://docs.mapcairn.com/api/map/Tooltip.md): A short hint attached to a focusable control, built on the Radix Tooltip.
- [`TooltipProvider`](https://docs.mapcairn.com/api/map/TooltipProvider.md): Shares the open delay between every Tooltip below it.
- [`TourCard`](https://docs.mapcairn.com/api/map/TourCard.md): The first-visit tour's card: the welcome card, a step, or the ending.
- [`VisuallyHidden`](https://docs.mapcairn.com/api/map/VisuallyHidden.md): The one way to provide screen-reader-only text, such as a hidden heading or keyboard instructions.

## Hooks

- [`useAnnounce`](https://docs.mapcairn.com/api/map/useAnnounce.md): Returns announce(message, \{ priority?, keep?
- [`useBasemapAvailability`](https://docs.mapcairn.com/api/map/useBasemapAvailability.md): Which basemaps are not working right now, and how to mark one.
- [`useBasemaps`](https://docs.mapcairn.com/api/map/useBasemaps.md): The basemaps on offer: the host's catalogue, or the built-in basemaps when it supplies none.
- [`useChromeLayout`](https://docs.mapcairn.com/api/map/useChromeLayout.md): Reads the chrome layout.
- [`useClipboard`](https://docs.mapcairn.com/api/map/useClipboard.md): The clipboard port.
- [`useDataLayers`](https://docs.mapcairn.com/api/map/useDataLayers.md): The state of every data layer and the actions on it, driven entirely by the definitions in the catalogue: nothing here names a layer.
- [`useDirections`](https://docs.mapcairn.com/api/map/useDirections-function.md): The state of one set of directions: the stops, the travel mode and the route or travel-time area the service found for them, with the requests cancellable and…
- [`useDraw`](https://docs.mapcairn.com/api/map/useDraw-function.md): The state of the Draw tool: the shapes, what is selected, undo, and every way to change them, by pointer and by keyboard.
- [`useFeatureQuery`](https://docs.mapcairn.com/api/map/useFeatureQuery.md): The query for the features inside a shape, or undefined when the host supplies none.
- [`useFeatureSelection`](https://docs.mapcairn.com/api/map/useFeatureSelection.md): The selected set as the ui shows it: the host's FeatureSelection store, resolved against the layers, with the select-mode flag and one message to the live…
- [`useFileOpener`](https://docs.mapcairn.com/api/map/useFileOpener.md): The file opener, which asks the person for a file and reads it in the browser, or undefined when the host supplies none.
- [`useFileSaver`](https://docs.mapcairn.com/api/map/useFileSaver.md): The file saver, which offers a file the ui built as a download.
- [`useFocusElement`](https://docs.mapcairn.com/api/map/useFocusElement.md): Returns element(name), the registered control in the document, or null.
- [`useFocusReturn`](https://docs.mapcairn.com/api/map/useFocusReturn.md): Returns restore(name), which focuses the registered control, or the map region when the name is null or the control is no longer in the document.
- [`useFocusTarget`](https://docs.mapcairn.com/api/map/useFocusTarget.md): Returns a ref callback to put on the control that opens a surface, so focus can come back to it: &lt;IconButton ref=\{useFocusTarget("map-options")\} />.
- [`useFormatMessage`](https://docs.mapcairn.com/api/map/useFormatMessage.md): Formats a core Message (a key and its parameters) with the active catalogue, for text a component shows or hands on as a string.
- [`useFreeCentre`](https://docs.mapcairn.com/api/map/useFreeCentre.md): The target of "at the map centre" for a tool whose panel covers part of the map: the middle of what is left uncovered, so it is never under the sheet.
- [`useIdentifyFeedback`](https://docs.mapcairn.com/api/map/useIdentifyFeedback.md): Whether to show the "Looking up what is here" line: true once identifying (see DataLayers.identifying) has been true for IDENTIFY_FEEDBACK_MS, and false again…
- [`useLanguageLoad`](https://docs.mapcairn.com/api/map/useLanguageLoad.md): Whether the messages for the language the person chose have failed to load, and a way to try again, or undefined when the host offers no languages.
- [`useLanguages`](https://docs.mapcairn.com/api/map/useLanguages.md): The languages the host offers, or undefined when it offers none to choose between.
- [`useLayers`](https://docs.mapcairn.com/api/map/useLayers.md): The data layer catalogue: a store of the host's layer definitions and whether they have loaded.
- [`useLocate`](https://docs.mapcairn.com/api/map/useLocate-function.md): Finds the user's location through the services' LocationProvider, one request at a time.
- [`useLocationProvider`](https://docs.mapcairn.com/api/map/useLocationProvider.md): The location provider.
- [`useLongPress`](https://docs.mapcairn.com/api/map/useLongPress-function.md): Long-press on the map, implemented once with pointer events so it behaves the same on every engine.
- [`useMap`](https://docs.mapcairn.com/api/map/useMap.md): Returns the live map.
- [`useMapAdapterFactory`](https://docs.mapcairn.com/api/map/useMapAdapterFactory.md): The map adapter factory, used by the map host to pick an engine for a basemap.
- [`useMeasure`](https://docs.mapcairn.com/api/map/useMeasure-function.md): The state of one measurement: the points the user has placed, the mode and the total, worked out with the core geodesic maths (WGS 84, not flat pixels).
- [`useMessages`](https://docs.mapcairn.com/api/map/useMessages.md): The active message catalogue, for t/plural/list calls that look up copy by key instead of writing it inline.
- [`useOnline`](https://docs.mapcairn.com/api/map/useOnline.md): Whether the browser says the device has a connection, updating live.
- [`useOptionalMessages`](https://docs.mapcairn.com/api/map/useOptionalMessages.md): As useMessages, but without a ServicesProvider above it the SDK's English catalogue, so a piece a consumer may render on its own (the skip link, a status…
- [`useOptionalServices`](https://docs.mapcairn.com/api/map/useOptionalServices.md): Returns the services, or null outside a ServicesProvider.
- [`usePlacement`](https://docs.mapcairn.com/api/map/usePlacement.md): The placement every overlay uses: the live adapter, the current view and the map shape, or null before the map has mounted.
- [`usePreferences`](https://docs.mapcairn.com/api/map/usePreferences.md): Device and accessibility preferences (reduced motion, fine pointer, languages, online), updating live.
- [`useResolveText`](https://docs.mapcairn.com/api/map/useResolveText.md): Reads a definition's text in the active language: a message key is looked up in the catalogue, a plain string is returned as written (see resolveText).
- [`useReverseAddress`](https://docs.mapcairn.com/api/map/useReverseAddress.md): Looks up the address at a position with the search provider's reverse, but only when lookUp is called, because the position leaves the device.
- [`useRoutingProvider`](https://docs.mapcairn.com/api/map/useRoutingProvider.md): The routing provider, or undefined when the host supplies none.
- [`useSearch`](https://docs.mapcairn.com/api/map/useSearch-function.md): Cancellable place search over the services' SearchProvider, run only when the user submits.
- [`useSearchProvider`](https://docs.mapcairn.com/api/map/useSearchProvider.md): The place search provider.
- [`useSelection`](https://docs.mapcairn.com/api/map/useSelection.md): The selected set, or undefined outside a SelectionProvider or when the host offers no selection.
- [`useSelectionStore`](https://docs.mapcairn.com/api/map/useSelectionStore.md): The store of selected features, or undefined when the host supplies none.
- [`useServices`](https://docs.mapcairn.com/api/map/useServices.md): Returns the services.
- [`useSettings`](https://docs.mapcairn.com/api/map/useSettings-function.md): Subscribes to the settings store.
- [`useSuggestionProvider`](https://docs.mapcairn.com/api/map/useSuggestionProvider.md): The suggestion provider, or undefined when the host supplies none.
- [`useSuggestions`](https://docs.mapcairn.com/api/map/useSuggestions.md): Suggests places for text as it is typed, over the services' optional SuggestionProvider.
- [`useTheme`](https://docs.mapcairn.com/api/map/useTheme-function.md): Combines the stored theme choice with the system preference, follows system changes live without a reload, and reflects the result onto the document through…
- [`useThemeSource`](https://docs.mapcairn.com/api/map/useThemeSource.md): The theme source.
- [`useTour`](https://docs.mapcairn.com/api/map/useTour-function.md): Runs the first-visit tour: the welcome card, the steps and the ending.
- [`useUrlState`](https://docs.mapcairn.com/api/map/useUrlState.md): The shareable URL state port.

## Functions

- [`chromeSkeletonCopy`](https://docs.mapcairn.com/api/map/chromeSkeletonCopy-function.md): The skeleton's words from catalogue, by the keys the live search pill, end stack and credits button use, so the skeleton and the controls that replace it say…
- [`endStackMinHeightForZoom`](https://docs.mapcairn.com/api/map/endStackMinHeightForZoom.md): The height the end stack needs to show the zoom group under the main group: four main controls (Map options, Measure, Locate me and Settings), two zoom…
- [`mapKeyBlocks`](https://docs.mapcairn.com/api/map/mapKeyBlocks.md): The blocks of the map key: one for each layer that is on and has a key, in catalogue order.

## Constants

- [`IDENTIFY_FEEDBACK_MS`](https://docs.mapcairn.com/api/map/IDENTIFY_FEEDBACK_MS.md): How long a lookup may run before the interface says it is waiting.
- [`IDENTIFY_TIMEOUT_MS`](https://docs.mapcairn.com/api/map/IDENTIFY_TIMEOUT_MS.md): How long one layer has to answer a tap, in milliseconds.
- [`LONG_PRESS_DELAY_MS`](https://docs.mapcairn.com/api/map/LONG_PRESS_DELAY_MS.md): How long a still press must last to count as a long-press, in milliseconds.
- [`MapContext`](https://docs.mapcairn.com/api/map/MapContext.md): The map context.
- [`MAX_IDENTIFY_LAYERS`](https://docs.mapcairn.com/api/map/MAX_IDENTIFY_LAYERS.md): The most layers one tap asks, in catalogue order.
- [`MAX_OUTLINE_POINTS`](https://docs.mapcairn.com/api/map/MAX_OUTLINE_POINTS.md): The most vertices one ring or line contributes to an outline drawn over the map.
- [`MIN_SUGGEST_LENGTH`](https://docs.mapcairn.com/api/map/MIN_SUGGEST_LENGTH.md): The fewest characters (after trimming) that suggestions are asked for.
- [`REVEAL_DETENT`](https://docs.mapcairn.com/api/map/REVEAL_DETENT.md): The detent a bottom sheet rests at when a feature is shown, so its card and the map share the screen.
- [`SCALE_BAR_IDLE_MS`](https://docs.mapcairn.com/api/map/SCALE_BAR_IDLE_MS.md): How long the scale bar stays after the zoom last changed before it fades.
- [`SUGGEST_COOLDOWN_MS`](https://docs.mapcairn.com/api/map/SUGGEST_COOLDOWN_MS.md): How long suggestions stay paused after repeated failures, in milliseconds.
- [`SUGGEST_DEBOUNCE_MS`](https://docs.mapcairn.com/api/map/SUGGEST_DEBOUNCE_MS.md): How long the text must stay unchanged before suggestions are asked for.
- [`SUGGEST_FAILURE_LIMIT`](https://docs.mapcairn.com/api/map/SUGGEST_FAILURE_LIMIT.md): How many requests in a row may fail before suggestions pause.
- [`UNDO_TIMEOUT_MS`](https://docs.mapcairn.com/api/map/UNDO_TIMEOUT_MS.md): How long the Undo after turning layers off stays on offer, in milliseconds.
- [`VIEW_SETTLE_MS`](https://docs.mapcairn.com/api/map/VIEW_SETTLE_MS.md): How long the map must stay still, in milliseconds, before layers that depend on its view are told it.

## Types

- [`AccuracyCircleProps`](https://docs.mapcairn.com/api/map/AccuracyCircleProps.md): Props for AccuracyCircle.
- [`AddressState`](https://docs.mapcairn.com/api/map/AddressState.md): Where the address lookup for a position stands.
- [`Announce`](https://docs.mapcairn.com/api/map/Announce.md): Sends a message to the one app-wide announcer: text, or a Message (a key and its parameters) that is formatted with the active catalogue just before it is…
- [`AnnounceOptions`](https://docs.mapcairn.com/api/map/AnnounceOptions.md): Options for a single announcement.
- [`AnnouncePriority`](https://docs.mapcairn.com/api/map/AnnouncePriority.md): How urgently a message is read out.
- [`AreaOutcome`](https://docs.mapcairn.com/api/map/AreaOutcome.md): A travel-time area that is on the map.
- [`AttributionAboutLink`](https://docs.mapcairn.com/api/map/AttributionAboutLink.md): A link to a page of the host's own, such as its About page.
- [`AttributionProps`](https://docs.mapcairn.com/api/map/AttributionProps.md): Props for Attribution.
- [`AttributionSkeletonProps`](https://docs.mapcairn.com/api/map/AttributionSkeletonProps.md): Props for AttributionSkeleton.
- [`BasemapAvailability`](https://docs.mapcairn.com/api/map/BasemapAvailability.md): What useBasemapAvailability returns.
- [`BasemapPickerProps`](https://docs.mapcairn.com/api/map/BasemapPickerProps.md): Props for BasemapPicker.
- [`ButtonProps`](https://docs.mapcairn.com/api/map/ButtonProps.md): Props for Button.
- [`CatalogueView`](https://docs.mapcairn.com/api/map/CatalogueView.md): What the Layers section needs to know about the catalogue besides its layers.
- [`CentreCrosshairProps`](https://docs.mapcairn.com/api/map/CentreCrosshairProps.md): Props for CentreCrosshair.
- [`ChipProps`](https://docs.mapcairn.com/api/map/ChipProps.md): Props for Chip.
- [`ChromeLayoutProviderProps`](https://docs.mapcairn.com/api/map/ChromeLayoutProviderProps.md): Props for ChromeLayoutProvider.
- [`ChromeLayoutValue`](https://docs.mapcairn.com/api/map/ChromeLayoutValue.md): What MapChrome tells the surfaces and slots inside it.
- [`ChromeSkeletonCopy`](https://docs.mapcairn.com/api/map/ChromeSkeletonCopy-interface.md): The words of every control ChromeSkeleton draws, in the host's default language.
- [`ChromeSkeletonProps`](https://docs.mapcairn.com/api/map/ChromeSkeletonProps.md): Props for ChromeSkeleton.
- [`ControlGroupProps`](https://docs.mapcairn.com/api/map/ControlGroupProps.md): Props for ControlGroup.
- [`CursorCoordinatesProps`](https://docs.mapcairn.com/api/map/CursorCoordinatesProps.md): Props for CursorCoordinates.
- [`DataLayers`](https://docs.mapcairn.com/api/map/DataLayers.md): What useDataLayers returns: the layers' state and every action on them.
- [`DataLayerState`](https://docs.mapcairn.com/api/map/DataLayerState.md): One layer as the ui shows it.
- [`DetailState`](https://docs.mapcairn.com/api/map/DetailState.md): A feature's affected area, loaded on request.
- [`DirectionsFailure`](https://docs.mapcairn.com/api/map/DirectionsFailure.md): The failures a person is told about.
- [`DirectionsOutcome`](https://docs.mapcairn.com/api/map/DirectionsOutcome.md): What the directions tool has put on the map.
- [`DirectionsOverlayProps`](https://docs.mapcairn.com/api/map/DirectionsOverlayProps.md): Props for DirectionsOverlay.
- [`DirectionsPanelProps`](https://docs.mapcairn.com/api/map/DirectionsPanelProps.md): Props for DirectionsPanel.
- [`DirectionsState`](https://docs.mapcairn.com/api/map/DirectionsState.md): Where the directions tool stands.
- [`DrawFeedback`](https://docs.mapcairn.com/api/map/DrawFeedback.md): The outcome of an export or a copy, shown beside the buttons and announced.
- [`DrawMapBindingsProps`](https://docs.mapcairn.com/api/map/DrawMapBindingsProps.md): Props for DrawMapBindings.
- [`DrawOverlayProps`](https://docs.mapcairn.com/api/map/DrawOverlayProps.md): Props for DrawOverlay.
- [`DrawToolbarProps`](https://docs.mapcairn.com/api/map/DrawToolbarProps.md): Props for DrawToolbar.
- [`EmptyStateProps`](https://docs.mapcairn.com/api/map/EmptyStateProps.md): Props for EmptyState.
- [`EndStackDirections`](https://docs.mapcairn.com/api/map/EndStackDirections.md): The Directions button, shown only when the host offers directions.
- [`EndStackProps`](https://docs.mapcairn.com/api/map/EndStackProps.md): Props for EndStack.
- [`EndStackSkeletonCopy`](https://docs.mapcairn.com/api/map/EndStackSkeletonCopy.md): The names of the controls EndStackSkeleton draws, in the host's default language.
- [`EndStackSkeletonProps`](https://docs.mapcairn.com/api/map/EndStackSkeletonProps.md): Props for EndStackSkeleton.
- [`ExportSectionProps`](https://docs.mapcairn.com/api/map/ExportSectionProps.md): Props for ExportSection.
- [`FeatureCardProps`](https://docs.mapcairn.com/api/map/FeatureCardProps.md): Props for FeatureCard.
- [`FeatureOutline`](https://docs.mapcairn.com/api/map/FeatureOutline.md): One ring or line of a feature, ready to draw as a path.
- [`FeatureSelectionState`](https://docs.mapcairn.com/api/map/FeatureSelectionState.md): What useFeatureSelection returns: the selected set as the ui shows it, and every action on it.
- [`FocusName`](https://docs.mapcairn.com/api/map/FocusName.md): The controls focus can return to when a surface closes.
- [`FocusRegistryProviderProps`](https://docs.mapcairn.com/api/map/FocusRegistryProviderProps.md): Props for FocusRegistryProvider.
- [`FreeCentre`](https://docs.mapcairn.com/api/map/FreeCentre.md): What useFreeCentre returns.
- [`HeadingLevel`](https://docs.mapcairn.com/api/map/HeadingLevel.md): A heading level.
- [`HelpAbout`](https://docs.mapcairn.com/api/map/HelpAbout.md): A host's About block in Help: a heading, a line of text, one link out and, optionally, a link to the host's own page about the site.
- [`HelpAboutLink`](https://docs.mapcairn.com/api/map/HelpAboutLink.md): A link in the About block: where it goes and what it is called.
- [`HelpSectionProps`](https://docs.mapcairn.com/api/map/HelpSectionProps.md): Props for HelpSection.
- [`HiddenSelection`](https://docs.mapcairn.com/api/map/HiddenSelection.md): A selected reference with nothing to show: its layer is off, still loading, not in the catalogue or not selectable.
- [`IconButtonProps`](https://docs.mapcairn.com/api/map/IconButtonProps.md): Props for IconButton.
- [`IconComponent`](https://docs.mapcairn.com/api/map/IconComponent.md): The shape of an icon component such as a Phosphor icon.
- [`IconProps`](https://docs.mapcairn.com/api/map/IconProps.md): Props for Icon.
- [`IdentifyResult`](https://docs.mapcairn.com/api/map/IdentifyResult.md): What a tap that asked raster layers came to.
- [`IdentifyStatusProps`](https://docs.mapcairn.com/api/map/IdentifyStatusProps.md): Props for IdentifyStatus.
- [`IsolateProps`](https://docs.mapcairn.com/api/map/IsolateProps.md): Props for Isolate.
- [`LanguageLoad`](https://docs.mapcairn.com/api/map/LanguageLoad.md): What useLanguageLoad returns.
- [`LayerItemProps`](https://docs.mapcairn.com/api/map/LayerItemProps.md): Props for LayerItem.
- [`LayerKeyLayout`](https://docs.mapcairn.com/api/map/LayerKeyLayout.md): How a LayerKey arranges its rows.
- [`LayerKeyProps`](https://docs.mapcairn.com/api/map/LayerKeyProps.md): Props for LayerKey.
- [`LayersSectionProps`](https://docs.mapcairn.com/api/map/LayersSectionProps.md): Props for LayersSection.
- [`LayerStatus`](https://docs.mapcairn.com/api/map/LayerStatus.md): Where a layer is: off, on (tiles), loading, loaded, empty, failed, or outside its zoom window.
- [`ListRowProps`](https://docs.mapcairn.com/api/map/ListRowProps.md): Props for ListRow.
- [`LiveRegionProviderProps`](https://docs.mapcairn.com/api/map/LiveRegionProviderProps.md): Props for LiveRegionProvider.
- [`LocateState`](https://docs.mapcairn.com/api/map/LocateState.md): Where a locate request stands.
- [`MapChromeProps`](https://docs.mapcairn.com/api/map/MapChromeProps.md): Props for MapChrome.
- [`MapContextValue`](https://docs.mapcairn.com/api/map/MapContextValue.md): What useMap returns: the live map, as seen by overlays and chrome.
- [`MapCursor`](https://docs.mapcairn.com/api/map/MapCursor.md): The pointer shown over the map: grab for panning, crosshair while measuring.
- [`MapDataLayersProps`](https://docs.mapcairn.com/api/map/MapDataLayersProps.md): Props for MapDataLayers.
- [`MapDirectionsProps`](https://docs.mapcairn.com/api/map/MapDirectionsProps.md): Props for MapDirections.
- [`MapKeyBlock`](https://docs.mapcairn.com/api/map/MapKeyBlock.md): What the map key shows for one layer that is on.
- [`MapKeyProps`](https://docs.mapcairn.com/api/map/MapKeyProps.md): Props for MapKey.
- [`MapLongPressEvent`](https://docs.mapcairn.com/api/map/MapLongPressEvent.md): Where a long-press (or right-click) happened.
- [`MapOverlayLayerProps`](https://docs.mapcairn.com/api/map/MapOverlayLayerProps.md): Props for MapOverlayLayer.
- [`MapReadoutProps`](https://docs.mapcairn.com/api/map/MapReadoutProps.md): Props for MapReadout.
- [`MapViewProps`](https://docs.mapcairn.com/api/map/MapViewProps.md): Props for MapView.
- [`MarkerGlyphProps`](https://docs.mapcairn.com/api/map/MarkerGlyphProps.md): Props for MarkerGlyph.
- [`MeasureMode`](https://docs.mapcairn.com/api/map/MeasureMode.md): What is being measured.
- [`MeasureOverlayProps`](https://docs.mapcairn.com/api/map/MeasureOverlayProps.md): Props for MeasureOverlay.
- [`MeasureToolbarProps`](https://docs.mapcairn.com/api/map/MeasureToolbarProps.md): Props for MeasureToolbar.
- [`OverlayMap`](https://docs.mapcairn.com/api/map/OverlayMap.md): The part of the map port an overlay needs to place and hide its marks.
- [`PinCardProps`](https://docs.mapcairn.com/api/map/PinCardProps.md): Props for PinCard.
- [`PinMarkerProps`](https://docs.mapcairn.com/api/map/PinMarkerProps.md): Props for PinMarker.
- [`PinSectionProps`](https://docs.mapcairn.com/api/map/PinSectionProps.md): Props for PinSection.
- [`ReverseAddress`](https://docs.mapcairn.com/api/map/ReverseAddress.md): What useReverseAddress returns.
- [`RouteOutcome`](https://docs.mapcairn.com/api/map/RouteOutcome.md): A route that is on the map.
- [`ScaleBarProps`](https://docs.mapcairn.com/api/map/ScaleBarProps.md): Props for ScaleBar.
- [`SearchPillProps`](https://docs.mapcairn.com/api/map/SearchPillProps.md): Props for SearchPill.
- [`SearchPillSkeletonCopy`](https://docs.mapcairn.com/api/map/SearchPillSkeletonCopy.md): The words of SearchPillSkeleton, in the host's default language.
- [`SearchPillSkeletonProps`](https://docs.mapcairn.com/api/map/SearchPillSkeletonProps.md): Props for SearchPillSkeleton.
- [`SearchState`](https://docs.mapcairn.com/api/map/SearchState.md): Where a search stands.
- [`SectionProps`](https://docs.mapcairn.com/api/map/SectionProps.md): Props for Section.
- [`SegmentedControlOption`](https://docs.mapcairn.com/api/map/SegmentedControlOption.md): One choice in a SegmentedControl.
- [`SegmentedControlProps`](https://docs.mapcairn.com/api/map/SegmentedControlProps.md): Props for SegmentedControl.
- [`SelectedEntry`](https://docs.mapcairn.com/api/map/SelectedEntry.md): One selected reference, resolved against the layers as they are now.
- [`SelectedFeature`](https://docs.mapcairn.com/api/map/SelectedFeature.md): The feature whose card is open, with its layer.
- [`SelectionMarkerProps`](https://docs.mapcairn.com/api/map/SelectionMarkerProps.md): Props for SelectionMarker.
- [`SelectionProviderProps`](https://docs.mapcairn.com/api/map/SelectionProviderProps.md): Props for SelectionProvider.
- [`ServicesProviderProps`](https://docs.mapcairn.com/api/map/ServicesProviderProps.md): Props for ServicesProvider.
- [`SettingsSectionProps`](https://docs.mapcairn.com/api/map/SettingsSectionProps.md): Props for SettingsSection.
- [`ShapesSectionProps`](https://docs.mapcairn.com/api/map/ShapesSectionProps.md): Props for ShapesSection.
- [`SheetContentProps`](https://docs.mapcairn.com/api/map/SheetContentProps.md): Props for SheetContent.
- [`SheetProps`](https://docs.mapcairn.com/api/map/SheetProps.md): Props for Sheet.
- [`ShownSelection`](https://docs.mapcairn.com/api/map/ShownSelection.md): A selected reference whose feature can be shown, with the definition of the layer that holds it.
- [`SkipLinkProps`](https://docs.mapcairn.com/api/map/SkipLinkProps.md): Props for SkipLink.
- [`SliderProps`](https://docs.mapcairn.com/api/map/SliderProps.md): Props for Slider.
- [`StatusMessageFocusProviderProps`](https://docs.mapcairn.com/api/map/StatusMessageFocusProviderProps.md): Props for StatusMessageFocusProvider.
- [`StatusMessageProps`](https://docs.mapcairn.com/api/map/StatusMessageProps.md): Props for StatusMessage.
- [`StatusMessageVariant`](https://docs.mapcairn.com/api/map/StatusMessageVariant.md): The kind of message.
- [`SubheadingProps`](https://docs.mapcairn.com/api/map/SubheadingProps.md): Props for Subheading.
- [`SurfaceProps`](https://docs.mapcairn.com/api/map/SurfaceProps.md): Props for Surface.
- [`SwitchProps`](https://docs.mapcairn.com/api/map/SwitchProps.md): Props for Switch.
- [`TooltipProps`](https://docs.mapcairn.com/api/map/TooltipProps.md): Props for Tooltip.
- [`TooltipProviderProps`](https://docs.mapcairn.com/api/map/TooltipProviderProps.md): Props for TooltipProvider.
- [`TourCardCopy`](https://docs.mapcairn.com/api/map/TourCardCopy.md): The words of a card that is not a step.
- [`TourCardProps`](https://docs.mapcairn.com/api/map/TourCardProps.md): Props for TourCard.
- [`TourStep`](https://docs.mapcairn.com/api/map/TourStep.md): One step of a tour, as data.
- [`TurnedOff`](https://docs.mapcairn.com/api/map/TurnedOff.md): The batch of layers that was last turned off at once, which Undo would turn back on.
- [`UndoHolder`](https://docs.mapcairn.com/api/map/UndoHolder.md): What can hold the countdown to an Undo offer's expiry: the pointer over its status, or focus inside it.
- [`UseDataLayersOptions`](https://docs.mapcairn.com/api/map/UseDataLayersOptions.md): Options for useDataLayers.
- [`UseDirections`](https://docs.mapcairn.com/api/map/UseDirections-interface.md): What useDirections returns.
- [`UseDraw`](https://docs.mapcairn.com/api/map/UseDraw-interface.md): What useDraw returns.
- [`UseDrawOptions`](https://docs.mapcairn.com/api/map/UseDrawOptions.md): Options for useDraw.
- [`UseFeatureSelectionOptions`](https://docs.mapcairn.com/api/map/UseFeatureSelectionOptions.md): Options for useFeatureSelection.
- [`UseLocate`](https://docs.mapcairn.com/api/map/UseLocate-interface.md): What useLocate returns.
- [`UseLocateOptions`](https://docs.mapcairn.com/api/map/UseLocateOptions.md): Options for useLocate.
- [`UseLongPress`](https://docs.mapcairn.com/api/map/UseLongPress-interface.md): The pointer handlers to spread on the host, plus hooks for the map engine.
- [`UseLongPressOptions`](https://docs.mapcairn.com/api/map/UseLongPressOptions.md): Options for useLongPress.
- [`UseMeasure`](https://docs.mapcairn.com/api/map/UseMeasure-interface.md): What useMeasure returns.
- [`UseSearch`](https://docs.mapcairn.com/api/map/UseSearch-interface.md): What useSearch returns.
- [`UseSearchOptions`](https://docs.mapcairn.com/api/map/UseSearchOptions.md): Options for useSearch.
- [`UseSettings`](https://docs.mapcairn.com/api/map/UseSettings-interface.md): What useSettings returns.
- [`UseTheme`](https://docs.mapcairn.com/api/map/UseTheme-interface.md): What useTheme returns.
- [`UseTour`](https://docs.mapcairn.com/api/map/UseTour-interface.md): What useTour returns.
- [`UseTourOptions`](https://docs.mapcairn.com/api/map/UseTourOptions.md): Options for useTour.
- [`VisuallyHiddenProps`](https://docs.mapcairn.com/api/map/VisuallyHiddenProps.md): Props for VisuallyHidden.
