Skip to contentSkip to content

MapShapePlot API

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

Demos

Import

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

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



Renders series mapShape items.

Props

NameTypeDefaultDescription
fillstring-

Fill color applied to every feature path. Overrides item and series colors.

strokestring'none'

Stroke color applied to every feature path.

strokeWidthnumber1

Stroke width applied to every feature path.

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.