Skip to content

Commit

Permalink
add support for scale and offset
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Apr 2, 2022
1 parent 8d0e25c commit 9c7ef12
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 200 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ const globe = createGlobe(canvas, {
theta: 0,
dark: 0,
diffuse: 1.2,
scale: 1,
mapSamples: 16000,
mapBrightness: 6,
baseColor: [0.3, 0.3, 0.3],
markerColor: [1, 0.5, 1],
glowColor: [1, 1, 1],
offset: [0, 0],
markers: [
{ location: [37.7595, -122.4367], size: 0.03 },
{ location: [40.7128, -74.006], size: 0.1 },
Expand Down
185 changes: 185 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9c7ef12

Please sign in to comment.