You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When panning around the map and attempting to zoom at the same time a TypeError is thrown in mapbox gl js code. This is ok in Chrome but in IE 11 there are side effects. This is reproducible with no interaction on the map other than loading a style and was fine in v0.41.
Seems to be caused by DragPanHandler::_onDragFrame
While continuing to pan the map, attempt to scroll with the mouse wheel
Expected Behavior
There shouldn't be any javascript errors caused by this. There were no issues in v0.41.
Actual Behavior
TypeError in Transform.pointCoordinate:128
Stack trace as follows: Uncaught TypeError: Cannot read property 'x' of undefined at Transform.pointCoordinate (VM273 mapbox-gl.js:128) at Transform.pointLocation (VM273 mapbox-gl.js:128) at DragPanHandler._onDragFrame (VM273 mapbox-gl.js:483) at e.i._updateCamera (VM273 mapbox-gl.js:463) at e._render (VM273 mapbox-gl.js:495) at VM273 mapbox-gl.js:495
The text was updated successfully, but these errors were encountered:
When panning around the map and attempting to zoom at the same time a TypeError is thrown in mapbox gl js code. This is ok in Chrome but in IE 11 there are side effects. This is reproducible with no interaction on the map other than loading a style and was fine in v0.41.
Seems to be caused by DragPanHandler::_onDragFrame
Test case: http://jsfiddle.net/dg6sey1t/3/
mapbox-gl-js version: v0.44
Steps to Trigger Behavior
Expected Behavior
There shouldn't be any javascript errors caused by this. There were no issues in v0.41.
Actual Behavior
TypeError in Transform.pointCoordinate:128
Stack trace as follows:
Uncaught TypeError: Cannot read property 'x' of undefined at Transform.pointCoordinate (VM273 mapbox-gl.js:128) at Transform.pointLocation (VM273 mapbox-gl.js:128) at DragPanHandler._onDragFrame (VM273 mapbox-gl.js:483) at e.i._updateCamera (VM273 mapbox-gl.js:463) at e._render (VM273 mapbox-gl.js:495) at VM273 mapbox-gl.js:495
The text was updated successfully, but these errors were encountered: