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
ezze / russia.json
Created Aug 5, 2019
Russia GeoJson
View russia.json
{
"type": "Feature",
"properties": {
"featurecla": "Admin-0 country",
"scalerank": 5,
"LABELRANK": 2,
"SOVEREIGNT": "Russia",
"SOV_A3": "RUS",
"ADM0_DIF": 0,
"LEVEL": 2,
@ezze
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.