Skip to contentSkip to content

GeoDataPlot API

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

Demos

Import

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

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



Renders the registered geoData as SVG paths, using the registered projection

Props

NameTypeDefaultDescription
fillstring'currentColor'

Fill color applied to every feature path.

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.