Skip to content

Instantly share code, notes, and snippets.

Back to the heavyweight jam

Dmitriy Pushkov ezze

Back to the heavyweight jam
Block or report user

Report or block ezze

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ezze / zoomLevel.js
Created Apr 18, 2017
Cesium: calculate camera heights for tile zoom levels
View zoomLevel.js
var zoomLevelHeights = getZoomLevelHeights(1);
for (var i = 0; i < zoomLevelHeights.length; i++) {
console.log('Level: ' + zoomLevelHeights[i].level + ', camera height: ' + zoomLevelHeights[i].height);
function getZoomLevelHeights(precision) {
precision = precision || 10;
var step = 100000.0;
You can’t perform that action at this time.