-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeerror - calcExtents must be an Array #53
Comments
Can you make a reproduction of the error in the svelte REPL or a GitHub repo?
|
@mraghuram please let me know. I'll close this issue if you've moved on. |
hi @mhkeller, sorry I am trying to figure out how to share the information. The data i am using is something I can share on a repl. I used d3 extent as a work around for now. |
Okay, let me know if there's a way I can take a look somehow. I'll close this for now and feel free to re-open when you are able to share. |
@mraghuram Here's a link to the REPL where you can log in with GitHub and create a shareable link: https://svelte.dev/repl/hello-world?version=3.44.3 |
Hi @mraghuram, I ran into the same problem just yesterday. You can replicate the same issue by deleting {flatData} in this demo map. Yesterday I passed in |
@tututwo these are two different issues. The map example needs @mraghuram's issue was different. He said he was passing in an array to the |
Thank you for your explanation! It's clear for me now! And yes, |
@mhkeller sorry about the delay.. Unfortunately, I couldn't share the data. But thanks for closing the issue |
Okay. Try calling |
Hi,
I keep getting this error message that says 'TypeError: The first argument of calcExtents() must be an array.'
However my data I am passing passes the Array.isArray test and is an array of objects
Is there something I am missing?
Murali
The text was updated successfully, but these errors were encountered: