Actions
Bug #6616
closedGoogle map freezes after second search
Start date:
11/04/2014
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
Description
After a search in the top search bar, the Search View loads normally. Then after a second search from the top search bar, the Google Map loads the first few map tiles and fails to load the other map tile images (gray bg).
Error msg from console:
Failed to load resource: net::ERR_CACHE_MISS
Updated by Lauren Walker almost 10 years ago
- Status changed from New to Resolved
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.
From Google Maps v3 API Reference:
"Developers should trigger this event on the map when the div changes size: google.maps.event.trigger(map, 'resize') "
Actions