# HG changeset patch # User Brian Neal # Date 1411956721 18000 # Node ID c285a86fb4d5c22f75bbc1a24c230bd2a8ed7a69 # Parent 0f9c014c8adce84598ec9ddd012f95a4e721ca04 Bandmap: add maxWidth param to InfoWindow ctor. Hopefully this helps with weird display issues with text getting cut off or scrollbars appearing. diff -r 0f9c014c8adc -r c285a86fb4d5 bandmap/static/js/bandmap.js --- a/bandmap/static/js/bandmap.js Sun Sep 28 20:42:57 2014 -0500 +++ b/bandmap/static/js/bandmap.js Sun Sep 28 21:12:01 2014 -0500 @@ -73,7 +73,7 @@ var map_div = $('#map-canvas'); if (map_div.length) { bandmap = new google.maps.Map(map_div[0], map_options); - info_win = new google.maps.InfoWindow(); + info_win = new google.maps.InfoWindow({maxWidth: 300}); $('#map-filter-go').click(refreshMap); $('#map-bands').change(function() { var n = $('option:selected', this).val();