comparison bandmap/static/js/bandmap.js @ 833:497c720f9d0d

Bandmap: add CSS to balloon to force size. Otherwise text was getting cut off or scrollbars appearing randomly.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Sep 2014 22:05:09 -0500
parents c285a86fb4d5
children 19b5a6ae3bca
comparison
equal deleted inserted replaced
832:c285a86fb4d5 833:497c720f9d0d
54 position: {lat: band.lat, lng: band.lon}, 54 position: {lat: band.lat, lng: band.lon},
55 title: band.name, 55 title: band.name,
56 icon: band.is_active ? "http://maps.google.com/mapfiles/ms/icons/green-dot.png" 56 icon: band.is_active ? "http://maps.google.com/mapfiles/ms/icons/green-dot.png"
57 : "http://maps.google.com/mapfiles/ms/icons/red-dot.png", 57 : "http://maps.google.com/mapfiles/ms/icons/red-dot.png",
58 map: bandmap 58 map: bandmap
59
60 }); 59 });
61 google.maps.event.addListener(marker, 'click', function() { 60 google.maps.event.addListener(marker, 'click', function() {
62 info_win.setContent(band.note); 61 info_win.setContent(band.note);
63 info_win.open(bandmap, marker); 62 info_win.open(bandmap, marker);
64 }); 63 });