[GRASS-git] [OSGeo/grass] 22cdf1: wxGUI: Show the world map in demolocation immediat...

Linda Kladivova noreply at github.com
Tue Dec 15 07:01:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 22cdf1f8acc716096f9c2446bb643caef9bfcbf5
      https://github.com/OSGeo/grass/commit/22cdf1f8acc716096f9c2446bb643caef9bfcbf5
  Author: Linda Kladivova <49241681+lindakladivova at users.noreply.github.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M gui/wxpython/lmgr/frame.py
    M lib/python/grassdb/checks.py

  Log Message:
  -----------
  wxGUI: Show the world map in demolocation immediately after startup (#1070)

* Shows world countries map which is in the demolocation when in demolocation.
* Needs at least CallAfter to report errors correctly if needed.
* However, CallLater 1000 is needed for proper alignment of the map in the window
  (and with the red computational region extent).
* Tests if vector map exists.

Possible future improvements: Different colors than defaults. OnIdle instead of CallLater.

Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>




More information about the grass-commit mailing list