yaapu / HorusMappingWidget

Offline GPS Mapping Widget for Horus and T16 radios
GNU General Public License v3.0
91 stars 26 forks source link

Mapping Widget version 1.2.2b Feedback #33

Closed MrD-RC closed 1 year ago

MrD-RC commented 3 years ago

Hi @yaapu It's all working now. But I have some feedback for you. I did originally have this in #29, but I think it would be better in it's own issue. This way others can add feedback, and it's easier to find.

Zooming

Switching

At the moment, there is a big delay in the virtual scroll wheel for changing the map scale. I know why. Because it could be used with a regular 3 position switch. However, it would be great if there was a setting in the configuration to reduce or remove the delay. I'm using a repurposed trim switch, so it just needs a click to change the scale.

Switch direction

On google maps, the zoom in and out of the switch is reversed. For example, I use T6 as my scale switch. With GMapCatcher maps, the channel at 100% zooms in and -100 zooms out. With Google as the map provider, 100% channel values zooms out, and -100% zooms in. I guess this is because the number for the scale is reversed on Google. As in GMap -2 is the most detailed zoom level, but with Google, 20 is the most detailed.

Min/Max zoom level setting

With google maps, I tried to set the Min zoom level to 19 and the max to 1. Due to the scaling, this would be correct. But, it means you can't actually change the zoom level. Setting min to 1 and max to 19 works fine.

General

I've not tested with Crossfire yet. But on SmartPort, it's looking good. Thanks your work Alessandro. I can post screen grabs or example videos in the evening, if they'll help.

MrD-RC commented 3 years ago

One other thing I've noticed. Would it be possible to add support for Bing maps here. I've noticed in Mission Planner that quite a few of the Google maps tiles are missing due to an over use of resources. The Bing maps seem to download faster too.

image

Is this just a case of folder names?

yaapu commented 3 years ago

Hi Darren, Bing maps is supported thru gmapcacther, the "Virtualearth" provider is bing

image

MrD-RC commented 3 years ago

True @yaapu, I admit I forgot about that. However, I'm wondering if it might be better to use this new method, as the keeper of GMapCatcher doesn't seem keen on maintaining it anymore. Maybe this is something that could be considered for the future? On a similar note, I have asked for some enhancements to the Mission Planner prefetch (min zoom in addition to the current max zoom and an option to ignore already pre-fetched tiles).

What are your thoughts on my other suggestions?

yaapu commented 3 years ago

@MrD-RC I need to double check MissionPlanner code, I suspect Bing has a different tile engine, on gmapcatcher the tile engine was unified, it was the orignal author who did the abstraction between the source tile system and gmapcacther's one, in mission planner the auther used google tile system by the mean of a custom library, I suspect bing has it's own which would mean adding another tile system to the widget which might end up in a rather complex project.

I mostly agree on your other suggestions, I will take a look and address them, I like the idea of quick zoom change

MrD-RC commented 3 years ago

@yaapu to me, it looks like they both use the same numbering systems. I just thought I'd have a look at 2 downloaded folders. The scales appear to be the same too.

image

Looking at this, I think if I were to just rename the BingSatelliteMap folder to GoogleSatelliteMap, it would work. Overall, I think the Google maps look nicer. It's just frustrating that there are huge areas missing.

Cool. Overall, I think these are great changes, to an already great widget. I'll definitely be making a new video on this version once it is released as a stable version.

MrD-RC commented 3 years ago

Works great on Crossfire.

yaapu commented 3 years ago

How do you repurpose the trim switch and how do you actually use it for zoom?

yaapu commented 3 years ago

new zoom handling: zoom change triggers right away and user can select how long to wait for next level triggering from the config menu

HorusMappingWidget-1.2dev.zip

As a side note I can't see the overflowing pixels from the top bar in the simulator, could it be a radio model specific issue? Min max zom levels both in the config menu and on screen actually refer to zoom level "values" which as you have noted are reversed in gmapcatcher vs google, but my code already handles that. I can reverse the behaviour of the switches for right now -100 increases zoom, this is because OpenTX requires all switches to be set at -100% on power on and this makes the map go to the highest zoom which is what I like

MrD-RC commented 3 years ago

How do you repurpose the trim switch and how do you actually use it for zoom?

MrD-RC commented 3 years ago

Cool, I’ll check out the new version on Saturday.

The overflowing pixels is on the X10S Express. I can get a screen grab at the weekend too.

yaapu commented 3 years ago

How do you repurpose the trim switch and how do you actually use it for zoom?

  • First I disassociate the trim in the flight modes. So trim 6 for example shows —
  • Next I’ll create the mix that’s used to change the zoom level. I use channel 32 as that’s out the way. There are 3 lines to the mix:
  1. Source: Max | Weight: 0%
  2. Source: Max | Weight: 100% | Switch: trim switch 6 up
  3. Source: Max | Weight: -100% | Switch: trim switch 6 down
  • Then just set the zoom channel to 32 in the Yaapu maps config tool.

...so you use it as a temporary 3 pos switch

MrD-RC commented 3 years ago

Yes, it effectively turns the trim switch in to a bidirectional momentary switch.

yaapu commented 3 years ago

Minor update with zoom overlay and faster zoom change detection

image

HorusMappingWidget-1.2dev.zip

MrD-RC commented 3 years ago

I've just installed the new dev release. I've not tested with a GPS connected yet, but thought I'd get a screen grab of the hanging boxes. The semi-opaque box around the zoom level looks great in your screen shot.

Here's the pixel issue on the X10S Express. screen-2021-05-01-100621 Comparing to your screen shot. It looks like the top of the font/box has shifted down slightly. The text on your screen shot is closer to the top of the screen.

yaapu commented 3 years ago

@MrD-RC Darren, I really can't reproduce the top bar issue, I tried on a Jumper TY16, radiomaster tX16S and Horus X10 with OpenTX 2.3.11 and all work, I also tried Horux X10S Express in the simulator and the layout is fine... did you do anything special on your radio, did you change fonts, is it a custom build?

yaapu commented 1 year ago

stale issue, please reopen if not fixed by latest version, thnaks