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: "GLO-your-license-key",
preset: "midnight",
});
For React:
<Globe
licenseKey="GLO-your-license-key"
options={{ preset: "midnight" }}
/>
For the Web Component:
<geo-globe license-key="GLO-your-license-key" preset="midnight"></geo-globe>
CanvasGlobe commercial keys begin with the exact uppercase prefix GLO. The
package checks the key in the browser. It does not contact Kelviq, Cloudflare,
Swiftools, or another license server.
For help, email [email protected].