Search notes:

Stellarium API: setFlagLandscape

//  vim: ft=javascript
//
//  ..\runScript.bat setFlagLandscape.ssc
//  

// Go to Irchelturm
core.setObserverLocation(
   8 + 36/60 + 25.85/60/60, // core.dmsToRad( 8, 36, 25.85 ), // longitude
  47 + 32/60 + 21.48/60/60, // core.dmsToRad(47, 32, 21.48 ), // latitude
   0                                                          // Altitude
);


core.setDeltaTAlgorithm("WithoutCorrection");

core.setDate(
  '2014-01-04T05:15:00',
  'local'              , // or 'utc'
   true                  // enable Delta T correction
);

core.wait(0.01); // Why is this even necessary

core.moveToAltAzi("7d", "50d", 0);
GridLinesMgr.setFlagAzimuthalGrid(true);

StelMovementMgr.zoomTo(20, 0);

var flag_orig = LandscapeMgr.getFlagLandscape();

LandscapeMgr.setFlagLandscape(true);
core.pauseScript();

LandscapeMgr.setFlagLandscape(false);
core.pauseScript();

LandscapeMgr.setFlagLandscape(flag_orig);

Github repository about-Stellarium, path: /API/LandscapeMgr/setFlagLandscape.ssc

See also

Stellarium Script API

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Wissensc...', 1758201385, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Wissenschaft/Astronomie/tools/Stellarium/script/API/LandscapeMgr/setFlagLandscape(76): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78