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
| Name | Type | Default | Description |
|---|---|---|---|
| fill | string | 'currentColor' | Fill color applied to every feature path. |
| stroke | string | 'none' | Stroke color applied to every feature path. |
| strokeWidth | number | 1 | 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.