poetaster / harbour-dwd

A Hacked up view of the DWD weather via Brightsky.dev for Sailfish OS
GNU General Public License v3.0
3 stars 3 forks source link

fix focus of rain radar #7

Open RelevanterUsername opened 1 year ago

RelevanterUsername commented 1 year ago

When rain radar is opened, the view is always centered on Berlin. It would be nice if the selected location could be passed to the web view. Also it is apparently impossible to move the map (at least I haven't yet found out how to achieve it).

poetaster commented 1 year ago

It is passed to the webview. Unfortunately, it's not possible to update on the element (QML) being completed. There are a couple of bugs in WebView that I"m struggling with.

For now, I added a 'locate' button which will center on the location that is, successfully, passed into the WebView. That works reliably.

RelevanterUsername commented 1 year ago

The locate button works nicely, however it is really small (as well as the control buttons for forward/backward/start animation) would it be possible to increase the their size? It wouldn't really matter if some screen is taken away since they are anyway at the long end of the screen. Maybe this is a device specific issue? I use a XA2 Ultra.

poetaster commented 1 year ago

The locate button works nicely, however it is really small (as well as the control buttons for forward/backward/start animation) would it be possible to increase the their size? It wouldn't really matter if some screen is taken away since they are anyway at the long end of the screen. Maybe this is a device specific issue? I use a XA2 Ultra.

I'm a bit up in the air about this since I started working on a QML only version with the qt mapping (geoservices plugins) that was recently fixed. BUT, it's a small bit, so I'll try to squeeze it in, if I don't get the qt maps finished soon.

RelevanterUsername commented 6 months ago

The bigger buttons are better, but they are still small - in particular their height could be increased. Are they supposed to carry labels? For me all buttons look blank and alike.

poetaster commented 6 months ago

Hmm. Odd. I see from left to rigtht: Locate | < | >/= | >

I've started on the QTLocation Maps based version so this may be deprecated soon.