kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
minor clean up
rodzic
8fab79cbc0
commit
5b2cd39c4e
|
@ -304,7 +304,6 @@ function flightFeature(line, opts, layer, canAnimate) {
|
||||||
line = new ol.geom.LineString(line);
|
line = new ol.geom.LineString(line);
|
||||||
var feature = new ol.Feature({ geometry: line, name: 'flight' });
|
var feature = new ol.Feature({ geometry: line, name: 'flight' });
|
||||||
|
|
||||||
|
|
||||||
feature.setStyle(new ol.style.Style({
|
feature.setStyle(new ol.style.Style({
|
||||||
stroke: new ol.style.Stroke({ color: opts.color, width: opts.weight, lineDash: dash, lineDashOffset:dashOff}) }));
|
stroke: new ol.style.Stroke({ color: opts.color, width: opts.weight, lineDash: dash, lineDashOffset:dashOff}) }));
|
||||||
|
|
||||||
|
@ -489,13 +488,9 @@ function sidTime(mjd, lambda) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function datetojd(datestring) {
|
function datetojd(datestring)
|
||||||
|
{
|
||||||
|
|
||||||
jd = (timeNowSec() /86400.0) + 2440587.5;
|
jd = (timeNowSec() /86400.0) + 2440587.5;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return jd
|
return jd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue