Skip to content
Snippets Groups Projects
Commit 162c9251 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

addresses #97 (Linux: TSV does not start)


Signed-off-by: Benjamin Jakimow's avatarbenjamin.jakimow <benjamin.jakimow@geo.hu-berlin.de>
parent 447430a7
No related branches found
No related tags found
No related merge requests found
...@@ -710,10 +710,21 @@ class TimeSeriesViewer(QgisInterface, QObject): ...@@ -710,10 +710,21 @@ class TimeSeriesViewer(QgisInterface, QObject):
if value(key) == None and key in defaults.keys(): if value(key) == None and key in defaults.keys():
setValue(key, defaults[key]) setValue(key, defaults[key])
self.mTimeSeries.setDateTimePrecision(value(Keys.DateTimePrecision)) v = value(Keys.DateTimePrecision)
self.spatialTemporalVis.mMapRefreshTimer.start(value(Keys.MapUpdateInterval)) if isinstance(v, DateTimePrecision):
self.spatialTemporalVis.setMapBackgroundColor(value(Keys.MapBackgroundColor)) self.mTimeSeries.setDateTimePrecision(v)
self.spatialTemporalVis.setMapSize(value(Keys.MapSize))
v = value(Keys.MapUpdateInterval)
if isinstance(v, int) and v > 0:
self.spatialTemporalVis.mMapRefreshTimer.start(v)
v = value(Keys.MapBackgroundColor)
if isinstance(v, QColor):
self.spatialTemporalVis.setMapBackgroundColor(v)
v = value(Keys.MapSize)
if isinstance(v, QSize):
self.spatialTemporalVis.setMapSize(v)
def setMapTool(self, mapToolKey, *args, **kwds): def setMapTool(self, mapToolKey, *args, **kwds):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment