My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Fixed
Owner:  ----
Closed:  Aug 2010


Sign in to add a comment
 
Reported by [email protected], Aug 17, 2010
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 17, 2010
#1 [email protected]
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.)
Aug 23, 2010
Project Member #2 [email protected]
(No comment was entered for this change.)
Status: Confirmed
Labels: Internal-2943775
Aug 24, 2010
Project Member #3 [email protected]
(No comment was entered for this change.)
Status: Fixed
Labels: Fixed-3.2
Aug 24, 2010
Project Member #4 [email protected]
 Issue 2655  has been merged into this issue.
Sign in to add a comment

Powered by Google Project Hosting