Skip to content

Instantly share code, notes, and snippets.

@aaronlidman
Created September 3, 2013 20:12
Show Gist options
  • Select an option

  • Save aaronlidman/6428936 to your computer and use it in GitHub Desktop.

Select an option

Save aaronlidman/6428936 to your computer and use it in GitHub Desktop.
I wanted to use these Bing locations as a backdrop for my project's index page but it doesn't really have anything to do with the project. I think it's a bit distracting. Maybe I can use it for another project or something.
var places = [
[-21.815289, 114.164930, 15],
[-22.7667, 113.680, 17],
[-26.6922, 113.6009, 17],
[-31.61751, 131.5492, 17],
[29.17023, -118.32509, 16],
[48.38595, -124.72506, 17],
[29.99712, 48.1951332, 14],
[5.283854, 100.310164, 17],
[37.27266, -112.945032, 16],
[38.23988, -111.03021, 17],
[38.35783, -111.0064280, 17],
[37.810945, -111.409413, 18],
[48.16474, -116.295604, 15],
[48.11478, -121.1146545, 16],
[-21.93253, 128.1610, 11],
[-22.62036, 128.02964, 15],
[-17.55526, 128.479421, 16],
[-24.61546, 153.251767, 17],
[32.292513, -64.884969, 18],
[29.002282, -81.941249, 18],
[53.218085, 5.0984287, 14],
[28.87337, -118.295094, 17],
[37.748338, 53.83595, 17],
[45.464465, 54.38301, 15],
[45.510527, 53.031649, 15],
[46.394327, 9.9549221, 18],
[46.4163, 5.66604, 16],
[63.7885, -17.5566, 16],
[64.21821, -15.58278, 17],
[-20.357049, 44.247779, 16],
[-19.8053, 44.63157, 16],
[-19.6383, 44.38731, 17],
[35.93251, -111.18917, 17],
[29.180859, -81.56099, 18],
[29.67158, -85.174727, 18],
[18.37585, -14.56712, 18]
], num = Math.floor((Math.random()*places.length)),
place = places[num];
var CONFIG = {
origin: [place[0],place[1]],
zoom: place[2]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment