Fixed
Status Update
Comments
aa...@gmail.com <aa...@gmail.com> #2
Oh wow, it looks like it was just fixed, right after I filed this bug!
ka...@gmail.com <ka...@gmail.com> #3
Closing this bug. Glad it is working for you now.
[Deleted User] <[Deleted User]> #4
I'm sorry it looks like this bug still happens. Is there a way to reopen it?
de...@gmail.com <de...@gmail.com> #5
I am also facing thin issue. Previously my code was running properly i did't changed any thing but it is showing this type of exception.
de...@gmail.com <de...@gmail.com> #6
[Comment deleted]
en...@google.com <en...@google.com> #7
Thank you for reporting this issue - we are investigating what the problem might be.
If you are experiencing problems, please provide a link to a code sample that illustrates the problem that you are having.
If you are experiencing problems, please provide a link to a code sample that illustrates the problem that you are having.
cs...@google.com <cs...@google.com> #9
This issue was closed by revision r540.
[Deleted User] <[Deleted User]> #10
I am still experiencing this issue using v3.24.3 in latest stable Chrome and Safari. You can view it at http://idealspot.com/app - sign in is required.
Description
I'm getting the below error <b><i>most of the times</i></b> on every attempt to drag the map, after displaying a dynamically constructed polygon.
Error : <em>"Uncaught TypeError: Cannot read property 'x' of undefined" </em>
To replicate my problem :
1. Disable the map's draggable attribute
2. Allow user to trace a shape on the map, use the coordinates to dynamically construct and show a polyline.
3. When the tracing is done, construct a polygon using the path set to the above polyline and remove the polyline
4. Enable the map's draggable attribute
5. Now try to drag the map
Error/Consequence : The above mentioned error is displayed on the browser console several times. The map is not draggable.
jsFiddle : <a rel="nofollow" href="
(If using this jsFiddle, click on "Start Drawing" and trace on the map to display the polyline followed by the polygon. Now try to drag the map)
On Android browser, the error points to line# 180 of my html file (irrespective of the html file length) (but I cant check what that line is)
On the iPad emulation of Chrome on desktop, the error points to the below line of a google maps API js file (whose name changes on every page load). The error line is :
<code>g("center");H.bh=cg("center");H.Gf=bg("latLngCenter");H.ph=bg("projectionBounds");H.Df=bg("projection");H.getLatLngBounds=md("k");H.Hm=bg("fixedPoint");function lx(a,b){this.min=a;this.max=b}function mx(a,b){return b<a.min?a.min:b>a.max?a.max:b};function nx(a){this.d=a}L(nx,P);nx[F].immutable_changed=function(){var a=this,b=a.get("immutable"),c=a.b;b!=c&&(Id(a.d,function(d){(c&&c[d])!==(b&&b[d])&&a.set(d,b&&b[d])}),a.b=b)};function ox(a,b,c){Bn(this,a);this.b=b;
Browser & OS used:
1) Android browser on Android phone/tablet
2) iPad emulation of Chrome browser on desktop (closest I could get to an iPad+Mac combination)
API version :
Latest google maps API version (3.exp)
Temporary fix :
Introducing a delay of 1500ms before performing step #4 above is helping eliminate the map freezing and the error in the console, but makes the appln feel slower than it truly is.
Thanks in advance.
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************