| Issue 2648: | Trigger map resize event causes error in Firefox in V3.2.1 | |
| 6 people starred this issue and may be notified of changes. | Back to list |
I have posted 2 examples of triggering a resize event. http://www.lawless.info/gmaps/resize.html The first one simply has a button to resize the map and StreetView is not enabled. This works fine. http://www.lawless.info/gmaps/resize_StreetView.html The second example differs only in that the map has “streetViewControl: true“ set in the options. Without even looking at StreetView resizing the map causes the following error in Firefox (ok in IE7, Chrome, Safari, Opera) Error: e is null Source File: http://maps.gstatic.com/intl/en_gb/mapfiles/api-3/2/1/main.js Line: 67 This code, which was built into my application development, was working on Sunday 16th August. The problem is associated with the controls being too large to fit in the new 200x200 map div. If I change the controls to 'small' and 'dropdown_menu' the problem goes away. Dynamically resetting the controls as part of the resize restores the problem.
Aug 23, 2010
(No comment was entered for this change.)
Status:
Confirmed
Labels: Internal-2943775
Aug 24, 2010
(No comment was entered for this change.)
Status:
Fixed
Labels: Fixed-3.2
Aug 24, 2010
Issue 2655 has been merged into this issue. |
|
| ► Sign in to add a comment |
I am getting the same error ("e is null" on line 67) when calling setOptions() with streetViewControl set to true. I only get the error when I call setOptions() on an existing map (that already had its options set previously). This is in Firefox 3.6.8 on Ubuntu. (I am not sure about other browsers.)