Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added static stuff for maps #56

Merged
merged 1 commit into from
Nov 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions themes/devopsdays/layouts/partials/maps.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@
map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
map.setTilt(45);

// Multiple Markers
// Add upcoming events here
// Get Latitude and Longitude of a Point: http://itouchmap.com/latlong.html
var markers = [
{{ range $.Site.Data.events }}
{{ if eq .status "current" }}
['{{ .city }}', {{ .coordinates | safeHTML }}],
['Denver: April 21 & 22', 39.739236, -104.990251],
['Minneapolis: Jul 20 & 21', 44.9726428,-93.2752562],
['Warsaw: Nov 24 & 25', 52.1800879, 20.9788363],
['Washington D.C.: June 8 & 9', 38.8011545,-77.0659376],
['Kiel: May 12 & 13', 54.34208,10.121949],
['Seattle: May 12 & 13', 47.609895, -122.330259],
{{ end }}
{{ end }}
];
Expand Down