mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Check if terrain data has finished loading before trying to add things to map #63

Open morgane opened 6 years ago

morgane commented 6 years ago

For example, when calling positionForLocation(CLLocation) on a terrain node, you do first need the terrain node to have finished loading. Otherwise, this will throw a cryptic error that's hard to understand and won't guide you to the real problem.