Can someone tell me why this has stopped working?

Code on the site

<script src="http://maps.google.com/maps?
file=api&amp;v=2.x&amp;key=ABQIAAAAGl893c5jH6jPVKCH192m5xQ0mBQLBYABai4cf3ER56XX1qZQ_RSocig1RDTucr8j-
VI_hmNuRjzHUg" type="text/javascript"></script>
<script type="text/javascript">
var map = null;
var geocoder = null;
function initGoogleMaps(address) {
  map = new GMap2(document.getElementById("map-directions"));
  map.addControl(new GSmallMapControl());
  geocoder = new GClientGeocoder();
  geocoder.getLatLng(address, function(point) {
    map.setCenter(point, 13);
    var marker = new GMarker(point);
    map.addOverlay(marker);
  });
}
Event.onDOMReady( function() {
  initGoogleMaps('13131 University Drive. Fort Myers, Fl 33907');
});
</script>


Stacktrace

JavaScript - http://www.removed.com/
Event thread: DOMContentLoaded
Error:
name: TypeError
message: Statement on line 1115: Cannot convert undefined or null to
Object
Backtrace:
  Line 1115 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b,c){this.qm=a.replace(Wr,"-");this.Eg=c||new
window.jstiming.Timer(b);window.jstiming.setTimerName
(this.Eg,this.qm);this.Jq=1;this.tD=0;this.uf={};this.Jl={};this.Um=
{};this.iq=""}
  ...  Line 1110 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js:
In function zk
    function zk(){zk.f.apply(this,arguments)}
  Line 232 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b,c){var d=this.ed;if(!d[a]&&b=="jss")d[a]=[new zk
("jsloader-"+a)];else{var e=d[a];if(!!e){var g=0;for(;g<z(e);++g)e
[g].tick(b+"."+a,c);if(b=="jsd"){var g=0;for(;g<z(e);++g)e[g].done
();delete d[a]}}}}
  Line 224 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    d.Po(a,"jss");d.hK(a,vk)}
  Line 218 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a){this.md?a(this.md):this.dd.push(a)}
  Line 223 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b,c){var d=this;if(!d.vD[a]){d.vD[a]=l;R(d,Fd,a,b);c&&d.
$x(a,c);d.lq&&d.$x(a,d.lq);d.Sp.Dy(function(e){p(e.moduleDependencies
[a],function(g){d.qB(g,undefined,c)});
  Line 222 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b,c,d,e){if(this.gD[a])c(this.Is[a]);else{Wg
(this.dd,a).push(c);e||this.qB(a,b,d)}}
  Line 225 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b,c,d,e){this.OP(a,b,function(g){c(g[b])},
  Line 235 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js:
In function gh
    function gh(a,b,c,d,e){ik(yk).require(a,b,c,d,e)}
  Line 248 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js:
In function d
    function d(e,g){gh(b,c,e,undefined,g)}
  Line 244 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(){var h=this,i=arguments,k;b(function(o){var q=(o||a)
[d];if(q&&q!=g)k=q.apply(h,i);else aa(new Error("No implementation
for ."+d))},
  ...  Line 1051 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js:
In function vo
    function vo(){vo.f.apply(this,arguments)}
  Line 641 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b){var c=new vo(a,b),d=[Y(c,Xc,this,this.hg),Y
(c,Yc,this,this.ef),Y(c,$c,this,this.fO),Y(c,Zc,this,this.gg),Y
(c,n,this,this.GN),Y(c,vb,this,this.Ws)];Ej(this.Z,d);return c}
  Line 642 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    function(a,b){p(this.Z,U);ak(this.Z);if(b)if(Oh(b.noResize))
this.iC=b.noResize;this.O=this.CH(this.o,this.rI);var c=[Q
(this.j,sb,this,this.vC),Q(this.j,Gb,this,this.ig),Q
(this.j,Hb,this,this.eO),Q(this.j,Ib,this,this.pC),Y
(this,xc,this,this.aN),Y(this,vb,this,this.UH)];Ej(this.Z,c);this.KL
();this.iC||this.Z.push(Q(a,Gc,this,this.Wg));p(this.Zg,function(d)
{d.control.ta(a)});
  Line 634 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js
    this.vv=b.enableZoomLevelLimits;this.Zc=0;this.re=K
(30,30);this.wq=l;this.Jb=[];this.up=[];this.Vh=[];this.Jn={};this.bd=
[];this.EL();this.Fc=[];this.Zg=[];this.Z=[];this.ta
(window);this.hq=j;this.FS=new jo(this,b.usageType);this.zI=b.isEmbed||
f;b.suppressCopyright||this.zL
(b);this.xh=b.googleBarOptions;this.LM=b.logoPassive;this.RM=b.mapOrderMarkers;this.Fx
();this.Ow=f;R(ll,sc,this)}
  ...  Line 629 of linked script 
http://maps.google.com/intl/en_us/mapfiles/152d/maps2.api/main.js:
In function ll
    function ll(){ll.f.apply(this,arguments)}
  ...
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have
Stacktrace'

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to