@d3-maps/core / mesh
mesh
Table of contents
Functions
renderMesh()
ts
function renderMesh(
context: MapContext,
data: Topology,
objectKey?: string,
filter?: (a: GeometryObject, b: GeometryObject) => boolean): string | null;Renders a TopoJSON mesh path when topology data is provided.
Parameters
| Parameter | Type |
|---|---|
context | MapContext |
data | Topology |
objectKey? | string |
filter? | (a: GeometryObject, b: GeometryObject) => boolean |
Returns
string | null
See
https://github.com/topojson/topojson-client#mesh
Interfaces
MapMeshProps
Properties
| Property | Type |
|---|---|
data | Topology |
filter? | (a: GeometryObject, b: GeometryObject) => boolean |
objectKey? | string |