Label positioning in Scripts
Here's a few things I came across when using the LabelMgr.
1) The possible values for the "style" parameter are not documented in http://
2) I have a Star at Az=115, so east would be *left*. But using side="E", the label appears on the *right*.
- Which coordinate system is relevant for this param, AltAz or Eq?
- if Eq is reference, East is the direction of increasing RA. so the E-label must be left in this example
- if AltAz is reference, East would depend of the viewing direction (east is left when looking south, east is north when looking north);
Am I missing something?
=======
// Shows how to label an object
LabelMgr.
core.clear(
core.setDate(
core.setObserve
StelMovementMgr
StelMovementMgr
core.selectObje
var text="TEST-LABEL";
var objectName=
var visible=true;
var fontSize=16;
var fontColor=
var side="NE";
var labelDistance=27.0;
// TextOnly Just put the label near the object.
// Line Draw a line from the label text to the object.
style="Line";
LabelMgr.
objectName,
visible,
fontSize,
fontColor,
side,
labelDistance,
style);
---
Stellarium 0.15.0, Windows 10
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Stellarium Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alexander Wolf
- Solved:
- Last query:
- Last reply: