Comments (7)
It's documented so widget displays distance from touch
from osmand.
It's documented so widget displays distance from touch
Um, where is it documented? I'm looking at https://osmand.net/docs/user/widgets/markers/ and it says:
The Map markers bar (Android) widget / Distance indication - Top bar (iOS) widget displays:
- Distance from your current location to the selected point indicated by the Marker on the map (Units of length can be choosed in the Profile settings).
As far as I can see, it has no wording to indicate that the distance and direction displayed will change into something else if you touch the screen to pan the map (and then change again when you stop touching).
I've created PR osmandapp/web#427 in attempt to clarify that.
If that is indeed wanted behaviour as indicated, I'd still suggest that OsmAnd:
- indicates that in the widget itself (e.g. by adding
from map center
after the displayed distance in the widget while map is panning) to reduce confusion, and - actually make the widget follow the map center while the map is panning (currently, it seems to display distance only to the initial point of touch which initiated panning, and does not update even while panning/zooming changes both distance and direction to the Marker position - which only adds to the confusion)
from osmand.
@mnalis
yes, you are right, there are two scenarios for showing distance without the Location.
- with touching map
- without touching
I re-wrote this info for Docs.
from osmand.
Yes, looks like while you are in a panning gesture, always about 1 sec after you start the gesture and until you take the finger off the map again, does the widget show the distance from the map center. Then reverts to the distance from the device location.Not sure if it's designed like that on purpose.
Also: Is it intentional that the widget does not appear immediately after setting a map marker, but only after subsequently tapping the "Back to location" button?
from osmand.
Not sure if it's designed like that on purpose.
I certainly hope that was not by design 😅 . If it was indeed intended that different data alternates while panning, some differentiation text should've absolutely been added to the text, e.g. 60m from GNSS location
/ 234km from map center
, but even with such necessary clarifications it would be very strange UI decision IMHO.
from osmand.
@mnalis I corrected Docs articles with actual info. (before I merged your commits).
When the location is off, the widget shows a distance from the center map point to the marker.
from osmand.
thanks for merging
When the location is off, the widget shows a distance from the center map point to the marker.
@EugeneZmeuk I though so initially too, but my testing seems to show this is not the case.
See this example video - center of the map is about the same in all cases, but:
- if I press on the upper part of the screen and pan a little, it says about 2km
- if I press on lower part of the screen and pan a little, it says only about 800m.
- if I press on the upper part of the screen again and pan a little, it says about 2km again
So it seems always to be dependent exactly on which part of the screen I touched, and not on a center of the map.
small_Screen_Recording_20240621_003849_OsmAnd.mp4
from osmand.
Related Issues (20)
- Unnecessary detour in pedestrian navigation HOT 6
- Abnormal work of Attach to the roads HOT 4
- Custom bicycle routing different speed on different hills HOT 3
- Add maximum level of slope to a routing parameters
- Add UNESCO POIs HOT 2
- Speedometer using external sensor value
- crash after editing a track HOT 2
- Closed bridge HOT 5
- Wrong turn indication in lanes widget HOT 1
- True and magnetic bearings in route planning
- Displaying true and magnetic bearing on the widget the radius of the ruler
- Osmand gets really slow and crashes at max zoom level HOT 2
- Android app crashes HOT 4
- OpenStreetMap editor plugin failed to login HOT 3
- Consolidate map names HOT 1
- Please Add "NEW IN VERSION" header to F-Droid Store Listing HOT 3
- Dynamic waypoint/favourite name setting HOT 1
- Osm in jetpack compose
- Include Hash of .apk App Signing Key in README
- Distance between two points HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmand.