Skip to content

Instantly share code, notes, and snippets.

@rockarts
Created September 3, 2018 05:31
Show Gist options
  • Select an option

  • Save rockarts/e8e8743a11526754c86886f29b2b8c13 to your computer and use it in GitHub Desktop.

Select an option

Save rockarts/e8e8743a11526754c86886f29b2b8c13 to your computer and use it in GitHub Desktop.
//create terrain geometry based on mapbox elevation data
terrainNode.fetchTerrainHeights(minWallHeight: 100.0, enableDynamicShadows: true, progress: { progress, total in }, completion: {
NSLog("Terrain load complete")
//ADD THE POINTS OF INTEREST CALL HERE!
self.addValleyofTheTenPeaksPOIMarkers()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment