A canvas implementation of the GeoMap component, should be used used when you have complex geometries as it offers better performance than its SVG counterpart.
Please note that because the features file is pretty huge, it's not included
in the generated code, you can find the file used for this example
you'll have to pass the
features array to the
The responsive alternative of this component is
'Depends on device'
Adjust pixel ratio, useful for HiDPI screens.
Defines the projection to use.
Projection x/y translation.
Define style for common elements such as labels, axes…
Control border width.
Method to compute border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
Enable meridians and parallels, useful for showing projection distortion.
Control meridians and parallel lines width.
Control meridians and parallel lines color.
onClick handler, it receives clicked node data and style plus mouse event.