remuslazar / EVPlugFinderPublic

Public Repository to hold the Issue Tracker for the private EVPlugFinder repo
13 stars 0 forks source link

"Map-Origin" configurable (currently fixed to the user location) #20

Closed secuder closed 7 years ago

secuder commented 7 years ago

The charging points can be displayed in a well-arranged list. But the order of this list is unclear: While the distance to the actual location seems to be correct, the list is not sortet according to the distance. (Maybe it is sorted according to the center of the map when the Reload button was hit - this becomes questionable when the center of the map has been changed.)

remuslazar commented 7 years ago

no, the distance is always calculated against the current user location. This makes sense in most circumstances, to get an estimate about how far the station is from the current location.

The list is ordered by the distance to the map center (at the time as the reload was triggered). Doing that, the user has both estimates at a glance.

secuder commented 7 years ago

that's what I thought :-) But there might be a reason to zoom in and to re-center the the map to a point of interest (e.g. the location one is about to load his car). So it would be good if the list would be ordered against the new center of the map.

remuslazar commented 7 years ago

@secuder yes, the "new center", let's call it "origin" should be somehow user-configurable/selectable. So then the above calculations (distance, re-centering etc. should then target this point. Somehow also related to #7

remuslazar commented 7 years ago

Sneak-Preview: POI Search with Completion

bildschirmfoto 2016-12-16 um 12 30 06