Svelte Globe
Installation & Setup
Install the package, preview the base globe setup, and use the example below as your starting point.
Installation
Add cobe with your package manager of choice.
Created by Shu Ding and powered by the original Cobe work.
Setup
This basic example shows the minimal canvas setup and globe configuration.
Add your first marker
Start with one location and add it to the globe through the markers array.
Each marker needs a location pair in [latitude, longitude] format. You can optionally set a size to make the point easier to see.
Create an arc
Once you have two points, connect them with the arcs array.
Each arc uses a from coordinate and a to coordinate. Add arcColor if you want the route line to stand out more clearly.