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
Although assuming you are trying to project a point along the Kansas-Oklahoma border, you’ll want to say [-96, 37] because the order is [longitude, latitude].
I'm trying to use the geoAlbersUsa projection, but this code returns an error.
Code:
Error:
d3-geo.js:2216 Uncaught TypeError: Cannot read property 'stream' of undefined
which is pointing to this line: https://github.com/d3/d3-geo/blob/master/src/projection/index.js#L13
and this file: https://github.com/d3/d3-geo/blob/a36f5cac465003ba8b6ceeee3834b1cef2b3a5f5/src/transform.js
I believe (though I could very well be using this incorrectly) that there's an issue with the function scoping, leading
this
to be undefined.The text was updated successfully, but these errors were encountered: