Just as update! I tried using the version 3.13 the experimental one, and the features work again!! The markers and polylines are painted!
So my application worked with all past version before v3.12 and works with v3.13. Must be a bug in the v3.12!! I have no other explanation... On Tue, May 28, 2013 at 11:50 AM, Blagoja Chavkoski <baze...@gmail.com>wrote: > > I know its something like this. I did a close debuging, but the exception > is always dip in the maps js files, which are hard to track. As I said > before, everything works fine for versions < 3.12 thats why I write here. I > tought something changed in the maps api signature, and is not updated in > the docs. > > -- Blaze > > > On Tue, May 28, 2013 at 5:58 AM, geocode...@gmail.com < > geocode...@gmail.com> wrote: > >> On May 27, 11:30 am, Blagoja Chavkoski <baze...@gmail.com> wrote: >> > Well my problem is, that I dont know how to norrow down the >> > problem :) >> > All is pointing down to the maps.js files, and this files are > very >> obfuscated... >> >> My experience (with the Google Maps Javascripts APIs, don't know >> anything about GWT) is that the error is almost always in the code >> that is calling the API, not the API itself. Run your code in a >> debugger, look in your code that is making API calls for uninitialized >> or invalid values of variables. >> >> -- Larry >> >> > >> > >> > >> > >> > >> > >> > >> > On Mon, May 27, 2013 at 8:19 PM, Pil <wolf...@gmail.com> wrote: >> > > Puhh, thats exhausting. What if you replace the 'g' in line 187 char 4 >> > > with 'h'? You may also send a patch file. >> > >> > > No, joking apart. You should try to embed a map of "My Places". >> > >> > > On May 27, 7:35 pm, Blagoja Chavkoski <baze...@gmail.com> wrote: >> > > > Hi, >> > >> > > > Thanks for your replay!! >> > >> > > > Well its hard for me to do this:) >> > > > I have GWT app which is using a wraper for the maps created >> internally by >> > > > us. >> > > > What we get as a error in the console is this >> > >> > > > 1. Uncaught TypeError: Cannot read property 'length' of undefined >> > > > 1. Mt >> > > > 2. xG >> > > > 3. RG.(anonymous function).d >> > > > 4. (anonymous >> > > > function)main.js:37< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 5. (anonymous >> > > > function)main.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 6. Nmain.js:9< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 7. Hfmain.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 8. Mfmain.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 9. (anonymous function) >> > > > 10. If.util >> > > > 11. (anonymous >> > > > function)main.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 12. (anonymous >> > > > function)main.js:10< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 13. (anonymous >> > > > function)main.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 14. Nmain.js:9< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 15. (anonymous >> > > > function)main.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 16. Ef.(anonymous >> > > > function).Oemain.js:23< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 17. Ff.(anonymous >> > > > function).Vcmain.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 18. Jfmain.js:24< >> > >http://maps.gstatic.com/intl/de_de/mapfiles/api-3/12/12/main.js> >> > > > 19. (anonymous >> > > > function)%7Bgeometry,poly%7D.js:2< >> > > >> http://maps.gstatic.com/cat_js/intl/de_de/mapfiles/api-3/12/12/%7Bgeo...> >> > >> > > > the js files are in the maps.gstatic.com under the 12/12 dir... >> > > > here is the code... >> > > > google.maps.__gjsload__('poly', '\'use strict\';function >> DD(a,b){return >> > > > a.moveTo=b}var ED="setPaths",FD="depth",GD="repeat";function >> > > > HD(a){for(a=a[Rk](16);2>a[G];)a="0"+a;return a}\nfunction >> ID(a,b,c){var >> > > > d=a[kt];a=a.b;for(var >> > >> > > >> e=[],f=a?[]:l,g=d[0]==d[d[G]-2]&&d[1]==d[d[G]-1],k=0,p=d[G]-2;k<p;k+=2){var >> > > > s=d[k],u=d[k+1],x=d[k+2],A=d[k+3],F,M;a&&(F=a[k/2],M=a[k/2+1]);var >> > > > J,R;switch(b){case 0:J=s>=c;R=x>=c;break;case >> 1:J=s<=c;R=x<=c;break;case >> > > > 2:J=u>=c;R=A>=c;break;case >> > > > 3:J=u<=c,R=A<=c}!k&&J&&(e[D](s,u),a&&f[D](F));if(J!=R){var >> > > Y;switch(b){case >> > > > 0:case 1:Y=(c-s)/(x-s);e[D](c,u+Y*(A-u));break;case 2:case >> > >> > > >> 3:Y=(c-u)/(A-u),e[D](s+Y*(x-s),c)}a&&f[D](F+Y*(M-F))}R&&(e[D](x,A),a&&f[D]( >> M))}g&&\ne[G]&&!(e[0]==e[e[G]-2]&&e[1]==e[e[G]-1])&&(e[D](e[0],e[1]),a&&f[D >> ](a[a[G]-1]));return{path:e,b:f}}function >> > > > JD(a){var b=new >> > >> > > >> Qu([an,$m,Zm]);Fu(b,["offset","panes","projectionTopLeft","size"],a);return >> > > > b}function KD(a,b,c,d){for(var e=l,f=c*c,g=0,k=d[G];g<k;++g){var >> > > > p=sv(a,b,c,d[g]);p&&p[2]<=f&&(f=p[2],e=p)}return e}function >> > > > LD(a,b,c){for(var >> > > > d=0,e=0,f=c[G];e<f;++e)d+=rv(a,b,c[e]);return!!(d&1)}\nfunction >> > > > MD(a,b){for(var c=new P(0,0),d=new >> > >> > > >> U(0,0),e=0,f=a[G];e<f;e+=2)P[Dc](c,a[e],a[e+1],h),d=b[eb](c,d),a[e]=d.x,a[e >> +1]=d.y}function >> > > > ND(a){var >> b=JD(a);Q[B](b,an,le);Q[B](b,$m,le);Q[B](b,Zm,function(b){var >> > >> > > >> d=a.get("mouseEventTarget");d&&(d=[d,Zm][jb](ee(arguments)),Q[r][Vb](l,d))} >> );return >> > > > b}var OD="toolbar";\nfunction PD(){var a=new >> > >> > > >> wi({clickable:m,fillOpacity:0});a[t]("map",this);a[t]("strokeColor",this);a >> [t]("strokeOpacity",this);a[t]("strokeWeight",this);var >> > > > b=["center","freeVertexPosition","freeVertexIsCenter"],c=new >> > >> > > >> ir(b,"return",QD);Fu(c,b,this);a[t]("center",c,"return");b=["center","radiu >> s","planetRadius","freeVertexPosition","freeVertexIsCenter"];c=new >> > >> > > >> ir(b,"return",O(this,this.d));Fu(c,b,this);a[t]("radius",c,"return");this.b >> =Uu();this.b[t]("zIndex",this);a[t]("zIndex",this.b,"ghostZIndex")}\nL(PD,T >> );function >> > > > QD(a,b,c){return >> > > > >> c&&b||a}PD[H].d=function(a,b,c,d,e){return!e&&d&&a?Pt(d,a,c):b};function >> > > > hE(a,b,c,d,e,f,g,k){var p=this,s=$("div",a);a=9+2*(1+c);Hh(s,new >> > > > S(a,a));qn(s);g.b(s,c,9,1,k?0.5:1);var u=new >> > > hw(f);u[t]("position",p);f=new >> > >> > > >> Ru(s);f[t]("position",u,"rawPosition");f[t]("containerPixelBounds",p,"mapPi >> xelBounds");f[t]("panningEnabled",p);f.set("draggableCursor",d);p.b=s;p.d=b >> ;p.Kb=c;p.n=u;p.Za=e;p.e=f;p.l=m;p.f={};p.D=g;var >> > >> > > >> x;p.R=[Q[B](f,Lm,function(){u.set("referencePosition",p.get("position"));u. >> set("snappingCallback",p.Za);p.f[bm]=h;p.f[cm]=h;x=[Q[y](b,an,s),Q[y](b,$m, >> s)];\nb.set("draggableCursor",d);b.set("active",h)}),Q[B](f,Jm,function(){u >> .set("referencePosition",l);u.set("snappingCallback",l);u.set("rawPosition" >> ,u.get("position"));b.set("active",m);x&&(N(x,Q[Bk]),x=l)}),Q[y](f,Om,p),Q[ >> y](f,Lm,p),Q[y](f,Jm,p),Q[B](f,cm,function(){p.l=h;iE(p)}),Q[B](f,bm,functi >> on(){p.l=m;iE(p)})];N(av,function(a){p.R[D](jE(p,a))})}L(hE,T);function >> > > > jE(a,b){function c(a){d.f[b]?d.f[b]=m:(ke(a),Q[r](d,b,a))}var >> > >> > > >> d=a;return"rightclick"==b?Q[Fc](d.b,mf,c):Q[B](d.e,b,c)}\nhE[H].W=function( >> ){Am(this.b);N(this.R,Q[Bk]);Xa(this.R,0);this.e[Ik]();this.e.W();this.n[Ik >> ]();this.d.set("active",m)};hs(hE[H],function(){var >> > > > a=this.get("position");if(a){var b=5+this.Kb;Fn(this.b,new >> > > > U(a.x-b,a.y-b))}});hE[H].color_changed=function(){var >> > > > >> a=this.get("color");this.D.setBorderColor(this.b,a);iE(this)};\nfunction >> > > > iE(a){var b;if(a.l){var >> > >> > > >> c=gu(a.get("color"));c&&(c.red=q[hb]((c.red+255)/2),c.green=q[hb]((c[Gs]+25 >> 5)/2),c.blue=q[hb]((c[dt]+255)/2),b=["#",HD(c.red),HD(c[Gs]),HD(c[dt])][Ic] >> (""))}a.D.setFillColor(a.b,b||"white")};function >> > > > kE(a,b,c,d,e,f){function g(){k.d||Q[r](k,OD,{fb:m})}var >> > >> > > >> k=this;k.I=a;k.n=b;k.l=c;k.L=$("div",e,dg);k.d=d;k.e=f;k.b=[];a[sb](O(k,k.f >> ));k.D=[Q[B](a,jg,function(b){k.f(a[yc](b),b);lE(k,b+1);g()}),Q[B](a,kg,fun >> ction(a){var >> > >> > > >> b=k.b[a];k.b[Hc](a,1);k.C(b);lE(k,a);g()}),Q[B](a,ig,function(b){k.b[b].uc. >> set("latLngPosition",a[yc](b));g()})]}L(kE,T);kE[H].W=function(){N(this.D,Q >> [Bk]);Xa(this.D,0);N(this.b,O(this,this.C));Xa(this.b,0);Q[Ab](this.L);Am(t >> his.L)};\nik(kE[H],function(){var >> > >> > > >> a=this.get("zIndex")||0;this.d&&--a;Mn(this.L,a)});\nkE[H].f=function(a,b){ >> function >> > > > c(a){var b=e[Ms],c=f.get("pixelPosition");Q[r](d,a,b,c)}var >> > > > d=this,e={};e.index=b;d.b[Hc](b,0,e);var f=new >> > >> > > >> kw;f[t]("projection",d);f[t]("zoom",d);f[t]("center",d,"projectionCenterQ") >> ;f[t]("offset",d);f.set("latLngPosition",a);e.uc=f;var >> > >> > > >> g=this.e(d.L,d.n[b%d.n[G]],d.l[b%d.l[G]],d.d);g[t]("position",f,"pixelPosit >> ion");g[t]("color",d);g[t]("panningEnabled",d);g[t]("mapPixelBounds",d);e.b >> =g;var >> > >> > > >> k=[Q[B](g,Lm,function(){d[t]("freeVertexPosition",f,"latLngPosition");c(Lm) >> }),\nQ[B](g,Jm,function(){d.I[Wb](e[Ms],f.get("latLngPosition"));c(Jm)}),Q[ >> y](g,Om,d)];N(av,function(a){k[D](Q[B](g,a,function(){c(a)}))});e.Ba=k};kE[ >> H].C=function(a){a.b[Ik]();a.b.W();a.uc[Ik]();N(a.Ba,Q[Bk]);Xa(a.Ba,0)};fun >> ction >> > > > lE(a,b){for(var c=a.b[G];b<c;++b)a.b[b].index=b};function >> > > > mE(a,b){this.f=a;this.e=b;this.d=l;this.Yc=m;this.b=new >> > > > lg;Q[w](this.b,ig,this,this.bj)}L(mE,T);var >> > >> > > >> nE=["pointer","row-resize","row-resize","col-resize","col-resize"],oE=[0,2, >> 2,1,1];I=mE[H];ta(I,function(){this.get("map")||(this.f.set("map",l),pE(thi >> s),Q[Ab](this.b))});zr(I,function(){pE(this);this.d=qE(this)});\nI.um=funct >> ion(){var >> > > > a=this.b;a[Kk]();var >> > > > b=this.get("center"),c=this.get("radius");if(b&&Yd(c)){var >> > > > d=this.get("planetRadius"),e=Ud(c/d),f;f=Td(b.lat());if(d=c/d){var >> > >> > > >> c=q.cos(d),d=q.sin(d),g=q.sin(f);f=q[mc](q.sin(q[Fs]((1-c)/d*q.tan(f)))*d*q >> .cos(f),c-g*g)}else >> > > > f=0;f=Ud(f);a[D](b);c=b.lat()+e;90>c&&a[D](new >> > > > P(c,b.lng()));e=b.lat()-e;-90<e&&a[D](new >> > > > P(e,b.lng()));180>=f&&(e=b.lng()+f,f=b.lng()-f,a[D](new >> > > > P(b.lat(),e)),a[D](new >> > >> > > >> P(b.lat(),f)));this.Yc||Q[r](this,OD,{fb:m})}};\npa(I,Ua(mE[H],mE[H].planet >> Radius_changed=mE[H].um));\nfunction >> > > > qE(a){var b=a.get("panes");if(!b)return l;b=new >> > >> > > >> kE(a.b,nE,oE,m,b[xk],a.e);b[t]("projection",a);b[t]("zoom",a);b[t]("project >> ionCenterQ",a);b[t]("panningEnabled",a);b[t]("mapPixelBounds",a);b[t]("colo >> r",a);b[t]("zIndex",a);b[t]("offset",a);var >> > > > c=a.f;c[t]("freeVertexPosition",b);var >> > >> > > >> d,e;Q[B](b,Lm,function(b){d=a.get("center");e=a.get("radius");c.set("freeVe >> rtexIsCenter",0==b);c.set("map",a.get("map"))});Q[B](b,Jm,function(b,g){c.s >> et("map",l);Q[r](a,OD,{fb:h,position:g,Bd:function(){a.set("center",\nd);a. >> set("radius",e)}})});Q[y](b,Lm,a);Q[y](b,Jm,a);Q[y](b,Om,a);return >> > > > b}function pE(a){var >> > > > b=a.d;b&&(b[Ik](),b.W(),Q[Ab](b),a.d=l)}I.bj=function(a){var >> > >> > > >> b=this.b[yc](a);if(0==a)gn(this,function(){this.Yc=h;this.set("center",b);t >> his.Yc=m},0);else{var >> > >> > > >> c=Pt(this.get("center"),b,this.get("planetRadius"));gn(this,function(){this >> .Yc=h;this.set("radius",c);this.Yc=m},0)}};function >> > > > rE(){}rE[H].b=function(a,b,c,d,e){a=$("div",a,new U(b,b),new >> > >> > > >> S(c,c));a[z].borderWidth=X(d);a[z].borderStyle="solid";a[z].borderRadius=X( >> q[gb](c/2+d));Tn(a,e)};rE[H].setBorderColor=function(a,b){a[rb][z].borderCo >> lor=b};rE[H].setFillColor=function(a,b){gk(a[rb][z],b)};function >> > >> > ... >> > >> > read more ยป >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps JavaScript API v3" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-maps-js-api-v3+unsubscr...@googlegroups.com. >> To post to this group, send email to >> google-maps-js-api-v3@googlegroups.com. >> Visit this group at >> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.