Open jim-martin opened 6 years ago
Creating a terrain node with bounds crossing 180° longitude fails. For example, New Zealand can't be rendered in a single TerrainNode.
Example:TerrainNode(minLat: -44.0, maxLat: -36.0, minLon: 169.0, maxLon: -179.0).
TerrainNode(minLat: -44.0, maxLat: -36.0, minLon: 169.0, maxLon: -179.0)
I've added some simple checks in #59 to avoid crashes, but not a fix.
Creating a terrain node with bounds crossing 180° longitude fails. For example, New Zealand can't be rendered in a single TerrainNode.
Example:
TerrainNode(minLat: -44.0, maxLat: -36.0, minLon: 169.0, maxLon: -179.0)
.I've added some simple checks in #59 to avoid crashes, but not a fix.