Running my little DF on all 68 devices in the simulator.... It works on every device except the two GPSMAP devices. Strange. Probably a simulator bug? Or does dc.drawText() act weirdly on those two?
Running my little DF on all 68 devices in the simulator.... It works on every device except the two GPSMAP devices. Strange. Probably a simulator bug? Or does dc.drawText() act weirdly on those two?
This is not wonky, the simulator behavior is correct.
Some data field layouts on this device are shown along with other display features. As an example, I believe the 2-field layout is shown on the compass…
You don't have to remove devices, as another option is to remove a DF layout. I have one where if I'm not in a 1 or 2 field layout, I display an error to indicate another layout is needed for that…
Strange. Not too worried about those two devices, but my very simple DF breaks in the simulator.
Are you running a DF on the GPSMAP or a device app?
Hey Jim - it is a very simple data field. Strange that it seems to want to run for slightly more than two lines, but doubles the drawText left and center.
The GPSMAP66 doesn't have a 1 field layout, so you're running in a 2 or more field layout which it's why you see things on the right and left..
I can see where returning a huge string from compute() is also involved. That's typically just a single line of data.
Interesting. If I change the LAYOUT in the sim to 3 fields, it seems to work fine. Just the default 2 field layout is wonky.
This is not wonky, the simulator behavior is correct.
Some data field layouts on this device are shown along with other display features. As an example, I believe the 2-field layout is shown on the compass and map pages where the bulk of the screen is filled with the compass/map and other device-specific information. The two data fields are near the top of the screen and are relatively small.
If you want to see the bounds of the data fields, you can draw a border from within the `onUpdate` call.
Ah interesting! Thanks! I'll remove the two GPS devices from those I support. Appreciate it!
You don't have to remove devices, as another option is to remove a DF layout. I have one where if I'm not in a 1 or 2 field layout, I display an error to indicate another layout is needed for that DF.