Have seensome people with the same kind of problem, without a solution, so this post Issimply what was causing my problem, and how I solved it.
I havebeen using GoogleMaps.Subgurim since 220.127.116.11 and have successfully upgraded to 18.104.22.168 inthe past, but I was getting 2 exceptions when I tried to upgrade to 22.214.171.124or newer, on all browsers.
Have found out that the first exception occurred because of thefollowing code:
DragZoomControl dragZoomControl = new DragZoomControl();
DragZoomOtherOptions dragZoomOtherOptions = new DragZoomOtherOptions();
dragZoomOtherOptions.buttonHTML = "Zoom";
dragZoomControl.dragZoomOtherOptions = dragZoomOtherOptions;
DragZoomBoxStyleOptions dragZoomBoxStyleOptions = newDragZoomBoxStyleOptions();
dragZoomBoxStyleOptions.opacity = 0.5;
dragZoomBoxStyleOptions.fillColor = Color.Blue;
GControl dragzoom =new GControl(dragZoomControl,new GControlPosition(GControlPosition.position.Top_Left));
The error occurredon line 2 in some dynamic file, where“DragZoomControl.prototype=new GControl();”is stated, and returns an MicrosoftJSCript-error which states that 'GControl' isn’t defined.
The secound exception occures on line 298 in the same dynamic file, butthe statement is “addEvent(window,'unload',GUnload);”, where it also returns an Microsoft JSCript-error which states that 'GUnload' isn’t defined.
Both errorsoccurred because I was adding the GMap dynamically onto a panel, so the problemwas solved when they were statically added to the page with visible = false.
The weird thingis that I worked perfectly before 126.96.36.199, but couldn’tfind a reason in the changelog.