Skip to content

Conversation

@mmv
Copy link

@mmv mmv commented Aug 18, 2018

When some points are outside projection space, they're stored as null. Later in the code, there's an attempt to get the [0] coordinate of that null, which breaks everything.

This change disregards those shapes and issues a console warning about the cause.

Should fix #22

@shawnbot shawnbot self-assigned this Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uncaught TypeError: Cannot read property '0' of null

2 participants