react-canvas-globe
v1.4.1
Published
React component for interactive 3D globes and world maps rendered with Canvas 2D, powered by canvas-globe.
Maintainers
Readme
react-canvas-globe
The exact-name React companion for CanvasGlobe, an interactive globe and flat world map rendered with Canvas 2D.
This package is a thin entry point. Rendering, interaction, themes, markers, routes, choropleths, accessibility, and exports come from canvas-globe.
npm install react-canvas-globeimport { CanvasGlobe } from "react-canvas-globe";
export default function AudienceGlobe() {
return (
<CanvasGlobe
preset="hologram"
markers={[{ lat: 23.03, lon: 72.58, count: 12, live: true }]}
/>
);
}Purchase a production license,
then pass the supplied license key through the licenseKey option.
Documentation: https://canvasglobe.swiftools.com/react-globe
Support: [email protected]
