Optional
getRegionId of the region for which to get the fill color.
Optional
getFunction that returns the regionUrl
for the region corresponding to a given regionId.
undefined
Region URL for the region.
RegionId of the region for which to get the regionUrl.
Function that returns tooltip content for the region corresponding to a given regionId.
Tooltip content for the region.
RegionId of the region for which to get tooltip content.
Optional
highlightedRegion to highlight on the map by rendering the shape with an outline.
Optional
showShow the shapes of the bordering states.
true
Optional
showShow the county shapes.
true
RegionId of the state being mapped.
Optional
widthWidth of the SVG containing the map.
Generated using TypeDoc
Function that returns the fill color for a region's shape, given the region's regionId.
Returns
Fill color for the region.