
Type.createNamespace('Interop.Google');Interop.Google.GeoStatusCode=function(){};Interop.Google.GeoStatusCode.prototype = {success:200,badRequest:400,serverError:500,missingQuery:601,missingAddress:601,unknownAddress:602,unavailableAddress:603,unknownDirections:604,badKey:610,tooManyQueries:620}
Interop.Google.GeoStatusCode.createEnum('Interop.Google.GeoStatusCode',false);Interop.Google.Map2Events=function(){}
Interop.Google.DirectionsEvents=function(){}
Interop.Google.MarkerEvents=function(){}
Type.createNamespace('Testing');Testing.Test=function(){}
Testing.Test.proofOfConcept=function(){Interop.Google.GoogleMaps.load('maps','2',Delegate.create(null,Testing.Test.api_onload));}
Testing.Test.api_onload=function(){var $0=document.createElement('div');$0.style.cssText='width: 400px; height: 400px;';document.body.appendChild($0);var $1=new google.maps.Map2($0);$1.setCenter(new google.maps.LatLng(12.22,-12.121));google.maps.GEvent.addListener($1,Interop.Google.Map2Events.load,Delegate.create(null,Testing.Test.map_Load));var $2=new google.maps.Icon();$2.image='/images/maps/triangleMarkersm.png';$2.iconSize=new google.maps.Size(27,18);$2.shadow='/images/maps/triangleMarkerShadowSm.png';$2.shadowSize=new google.maps.Size(27,18);$2.iconAnchor=new google.maps.Point(8,16);var $3=new google.maps.Marker(new google.maps.LatLng(45,45),$2);$1.addOverlay($3);$1.enableContinuousZoom();$1.enableDoubleClickZoom();$1.enableScrollWheelZoom();$1.enableGoogleBar();}
Testing.Test.map_Load=function(){alert('Totally loaded');}
Type.createNamespace('google.maps');google.maps.GoogleBarLinkTarget=function(){};google.maps.GoogleBarLinkTarget.prototype = {g_GOOGLEBAR_LINK_TARGET_BLANK:0,g_GOOGLEBAR_LINK_TARGET_PARENT:1,g_GOOGLEBAR_LINK_TARGET_SELF:2,g_GOOGLEBAR_LINK_TARGET_TOP:3}
google.maps.GoogleBarLinkTarget.createEnum('google.maps.GoogleBarLinkTarget',false);google.maps.GoogleBarResultList=function(){};google.maps.GoogleBarResultList.prototype = {g_GOOGLEBAR_RESULT_LIST_INLINE:0,g_GOOGLEBAR_RESULT_LIST_SUPRESS:1}
google.maps.GoogleBarResultList.createEnum('google.maps.GoogleBarResultList',false);google.maps.$create_Duration=function(){return {};}
google.maps.$create_Distance=function(){return {};}
google.maps.$create_Status=function(){return {};}
google.maps.$create_DirectionsOptions=function(){return {};}
google.maps.$create_Placemark=function(){return {};}
google.maps.$create_AddressDetails=function(){return {};}
google.maps.$create_Thoroughfare=function(){return {};}
google.maps.$create_PlacemarkPoint=function(){return {};}
google.maps.$create_Step=function(){return {};}
Interop.Google.Map2Events.createClass('Interop.Google.Map2Events');Interop.Google.DirectionsEvents.createClass('Interop.Google.DirectionsEvents');Interop.Google.MarkerEvents.createClass('Interop.Google.MarkerEvents');Testing.Test.createClass('Testing.Test');Interop.Google.Map2Events.addMapType='addmaptype';Interop.Google.Map2Events.removeMapType='removemaptype';Interop.Google.Map2Events.click='click';Interop.Google.Map2Events.dblClick='dblclick';Interop.Google.Map2Events.singleRightClick='singlerightclick';Interop.Google.Map2Events.moveStart='movestart';Interop.Google.Map2Events.moveEnd='moveend';Interop.Google.Map2Events.zoomEnd='zoomend';Interop.Google.Map2Events.mapTypeChanged='maptypechanged';Interop.Google.Map2Events.infoWindowOpen='infowindowopen';Interop.Google.Map2Events.infoWindowBeforeClose='infowindowbeforeclose';Interop.Google.Map2Events.infoWindowClose='infowindowclose';Interop.Google.Map2Events.addOverlay='overlay';Interop.Google.Map2Events.removeOverlay='removeoverlay';Interop.Google.Map2Events.clearOverlays='clearoverlay';Interop.Google.Map2Events.mouseOver='mouseover';Interop.Google.Map2Events.mouseOut='mouseout';Interop.Google.Map2Events.mouseMove='mousemove';Interop.Google.Map2Events.dragStart='dragstart';Interop.Google.Map2Events.drag='drag';Interop.Google.Map2Events.dragEnd='dragend';Interop.Google.Map2Events.load='load';Interop.Google.DirectionsEvents.load='load';Interop.Google.DirectionsEvents.addOverlay='addoverlay';Interop.Google.DirectionsEvents.error='error';Interop.Google.MarkerEvents.click='click';Interop.Google.MarkerEvents.dblClick='dblclick';Interop.Google.MarkerEvents.mouseDown='mousedown';Interop.Google.MarkerEvents.mouseUp='mouseup';Interop.Google.MarkerEvents.mouseOver='mouseover';Interop.Google.MarkerEvents.mouseOut='mouseout';Interop.Google.MarkerEvents.infoWindowOpen='infowindowopen';Interop.Google.MarkerEvents.infoWindowBeforeClose='infowindowbeforeclose';Interop.Google.MarkerEvents.infoWindowClose='infowindowclose';Interop.Google.MarkerEvents.remove='remove';Interop.Google.MarkerEvents.dragStart='dragstart';Interop.Google.MarkerEvents.drag='drag';Interop.Google.MarkerEvents.dragEnd='dragend';Interop.Google.MarkerEvents.visibilityChanged='visibilitychanged';
// ---- Do not remove this footer ----
// Generated using Script# v0.5.1.0 (http://projects.nikhilk.net)
// -----------------------------------
Type.createNamespace('Interop.Google');Interop.Google.GoogleMaps=function Interop_Gooogle_GoogleMaps(){}
Interop.Google.GoogleMaps.load=function Interop_Google_GoogleMaps$load(api,version,callback){google.load(api,version);google.setOnLoadCallback(function(){google.maps.GEvent=google.maps.Event;callback();});};