https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362014-11-26T20:27:09ZEcoinformatics RedmineMetacatUI - Bug #6616: Google map freezes after second searchhttps://projects.ecoinformatics.org/ecoinfo/issues/6616?journal_id=218562014-11-26T20:27:09ZLauren Walkerwalker@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>This was being caused every time the map was loading on the page after a resize of the div somehow, usually when switching between views. The Google Map resize event needs to be triggered to "reset" the map inside the div and fill it completely.</p>
<p>From Google Maps v3 API Reference:<br />"Developers should trigger this event on the map when the div changes size: google.maps.event.trigger(map, 'resize') "</p>