Add your CanvasGlobe license key
Pass the key supplied after purchase through the licenseKey option:
import { createGlobe } from "canvas-globe";
createGlobe(document.querySelector("#globe"), {
licenseKey: "your-license-key",
preset: "midnight",
});
For React:
<Globe
licenseKey="your-license-key"
options={{ preset: "midnight" }}
/>
For the Web Component:
<geo-globe license-key="your-license-key" preset="midnight"></geo-globe>
The package checks the supplied key in the browser without contacting a license server.
For help, use Live human support → Find my license key or License key not working to contact us through WhatsApp or email. You can also email [email protected].