Closed mapcentia closed 6 years ago
@sashuk I still don't see any ploting with the new layer:
@sashuk see my earlier comments. Didn't reopen
@mapcentia Could you please set the v:sensor.sensordata_without_correction
layer to be dynamically loaded?
@mapcentia The issue is fixed (plots had no access to water level layer data) in https://github.com/sashuk/watsonc/commit/82d47f76c8b772da09eafdeaf55d7c63761fd77f, but carrying aroung the entire water level layer gets to expensive in terms of performance. The issue will be closed after testing with dynamic v:sensor.sensordata_without_correction
layer.
@sashuk done
@sashuk The new layer doesn't have that many points but the time series is way bigger.
@sashuk It seems to work pretty good with dynamic load. When creating a plot and you pan/zoom away, so the layer refreshed with new objects, the plot goes away. I guess its because the data, which were plotted in the first place, are no longer in the browser? But is there a way to persist data? Also if you store a snapshot with a viewport far away from the plotted data?
@mapcentia You are exactly right! Layer data can be processed following way:
localStorage
, single data entries will be updated upon load of these entries; implement controls for clearing the stored data; implement storing of data using the stateSnapshots
module;Right now data is stored until page reload and stateSnapshots
keep only references to measurements for plots, not the data itself. Should the (3) option be implemented?
@sashuk done
Thanks, the sensor.sensordata_without_correction
is now dynamic
@sashuk We go for option 3
@mapcentia Got it, thanks! I will close this issue and create new one with the actual feature request then (#3).