This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewer = new Cesium.Viewer('cesiumContainer'); | |
var font = 'bold 13px Arial'; | |
viewer.entities.add({ | |
position : Cesium.Cartesian3.fromDegrees(-75, 40), | |
label : { | |
text : 'A\nA\nA', | |
font : font, | |
fillColor : Cesium.Color.WHITE, | |
outlineColor : Cesium.Color.BLACK, | |
outlineWidth : 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 2012-03-26 | |
Copyright 2012 Christopher Weiss (cmweiss@gmail.com) | |
Suggestions for improvements are appreciated. | |
Adapted from the geomagc software and World Magnetic Model of the NOAA | |
Satellite and Information Service, National Geophysical Data Center | |
http://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml | |
geoMagFactory() requires a world magnetic model (WMM) object. The helper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<pre id="results"></pre> | |
<script> | |
// ********** Helper Stuff; Ignore ********* | |
function x2str(x) { | |
return x.toString(); | |
} | |
function log() { |