add esa sky to finderscope menu
add linewidth as video annotation opt
This commit is contained in:
Родитель
d54cbc0f64
Коммит
b158dd86e4
|
@ -161,6 +161,10 @@
|
|||
annotations.push(place.annotation);
|
||||
a.setCenter(place.get_RA() * 15, place.get_dec());
|
||||
a.set_lineColor(opts.linecolor || '#00ff00');
|
||||
a.set_lineWidth(2);
|
||||
if (opts.linewidth){
|
||||
a.set_lineWidth(parseFloat(opts.linewidth));
|
||||
}
|
||||
a.set_skyRelative(true);
|
||||
a.set_radius(opts.radius ? parseFloat(opts.radius) : .005);
|
||||
wwt.wc.addAnnotation(a);
|
||||
|
|
|
@ -64,7 +64,9 @@
|
|||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="http://sky.esa.int/?action=goto&target={{scopePlace.get_RA()*15}}%20{{scopePlace.get_dec()}}&hips=DSS2%20color&fov={{viewport.Fov}}&cooframe=J2000&sci=true" target="esa"><span localize="View in ESA Sky"></span></a>
|
||||
</li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li><a ng-click="setBackgroundImage(scopePlace)" href="javascript:void(0)" localize="Set as Background Imagery"></a></li>
|
||||
<li><a ng-click="setForegroundImage(scopePlace)" href="javascript:void(0)" localize="Set as Foreground Imagery"></a></li>
|
||||
|
@ -79,4 +81,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче