Project

General

Profile

Actions

Bug #6616

closed

Google map freezes after second search

Added by Lauren Walker about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
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

Actions #1

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

Also available in: Atom PDF