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
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.
Can those who know tell me is this a real bug which should be reported or am I doing something stupid?
Thanks
Pete
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
in the map options the problem with Firefox goes away when reducing to 200x200. However when I attempt to dynamically switch the control types as part of the map resize routine it re-appears.Is there anyway to check when the resize event is complete so I can switch the control options on a map which is fully resized?ThanksPete
--