Skip to contentSkip to content

MapShape API

API reference docs for the React MapShape component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { MapShape } from '@mui/x-charts-premium/Map';
// or
import { MapShape } from '@mui/x-charts-premium';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDescription
featureName*string

The name of the geographic feature.

seriesId*string

The id of the series the element belongs to.

The component cannot hold a ref.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.