Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created December 3, 2015 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0d4f521bad1dcd81e56e to your computer and use it in GitHub Desktop.
Save anonymous/0d4f521bad1dcd81e56e to your computer and use it in GitHub Desktop.
@interact(z=(0,20000000), heading=(-180,180), pitch=(-90,90), roll=(-360,360),
Location=('Eboli, IT','Woods Hole, MA','Durham, NH'))
def f(z=1000000, heading=0, pitch=-90, roll=0, Location='Eboli, IT'):
cesiumExample.zoom_to(myplace[Location][1], myplace[Location][0], z, heading, pitch, roll)
@interact(CZML=('simple_czml','complex_czml'))
def c(CZML=None):
cesiumExample.czml = myczml[CZML]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment