Skip to content

Commit

Permalink
Merge pull request #25 from shuding/shu/5f35
Browse files Browse the repository at this point in the history
Add support for scale and offset; switch to pnpm
  • Loading branch information
shuding authored Apr 2, 2022
2 parents 8d0e25c + 9c7ef12 commit ad3c49f
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 ad3c49f

Please sign in to comment.