FacilMap / facilmap

FacilMap is a privacy-friendly, open-source versatile online map that combines different services based on OpenStreetMap and makes it easy to find places, plan trips and add markers, lines and routes to custom maps with live collaboration.
https://facilmap.org/
GNU Affero General Public License v3.0
317 stars 21 forks source link

Disable autozoom #33

Closed narcisgarcia closed 7 years ago

narcisgarcia commented 7 years ago

Some way to disable the automatic move to general view of route while user is marking new points for a route?

cdauth commented 7 years ago

Which way of marking new points for a route do you mean?

narcisgarcia commented 7 years ago

Steps:

  1. Open facilmap
  2. set a start point for a route
  3. set next point for the route and/or [Go] [[View moves and zooms]]

The problem for the user can be when is setting detailed 3rd or 4th route points, and everytime view zooms out.

cdauth commented 7 years ago

I still don’t understand what exactly you are doing. In point 3 you are typing in a destination and then pick one from the dropdown list?

narcisgarcia commented 7 years ago

Do you mean not to know what move/zoom effect I'm talking about??

cdauth commented 7 years ago

I know the effect that you are talking about, but I’m trying to understand why it is disturbing you. There are multiple ways to add route points, which is why I’m trying to find out which one you are using.

narcisgarcia commented 7 years ago
  1. Open facilmap.org
  2. Introduce "Paris" at search box -> Use as: Route start -> Zooms&moves (good)
  3. Introduce "rome italia" at next box -> No route draw&calculation? -> Press [Go]!
  4. Manually zoom to Rome destination point, I want to add a (yellow) point to visit "Porta di Roma" before. Application adds the intermediate yellow mark and recalculates; Ok. Now there are 3 points at table widget.
  5. Oh, i was wrong and remove [-] 2nd point to do it better: ZOOMS ALL OUT (bad) (route is back again Paris-Rome).
  6. Now i [Add another destination] (cannot simply click on a map place) I write to new 3rd box "arco di travertino" and select the one in found list. ZOOMS ALL OUT (bad, I may want to add more detailed destinations in Rome!)
cdauth commented 7 years ago

Ok, I propose removing autozoom in the following situations:

I propose to keep autozoom in these situations:

narcisgarcia commented 7 years ago

Corrections seem good, but a checkbox or icon to disable autozoom can help in these and more situations.

narcisgarcia commented 7 years ago

I see today that in facilmap.org the example with "arco di travertino" still fails.

cdauth commented 7 years ago

Personally, I think in that case it's justified. Usually, the suggestions are in different places of the world, so it makes sense to me that it zooms to the route when you select a different suggestion.

To avoid the zoom, you can long-click on the map and use the “Use as” menu.