3 years 2 months ago - 3 years 2 months ago#5682by christian1776b
christian1776b created the topic: Reset Map View feature
<<< I originally posted this in the Suggestion Box, but I realize it is better suited here, in the wish list. >>>
I'm new to this nice extension. I've been playing with the component and plugin for a few days.
I am looking for a feature to reset map view. So far, I have not found it, so perhaps this is an enhancement request.
What would that feature look like ?
Let's assume that the map is draggable and has zoom control. Now the user plays with the map, moves it to the east, moves it to the west, zooms it in and out and in again, and so on ... and after a while, user is lost, and no longer sees what was supposed to be on the map, because he/she is entirely somewhere else. A little button somewhere that would allow to "reset map view" would be nice. A very good place would be right in the center of the panoramic control, but I would certainly not complain if it were anywhere else.
What would it reset ?
Since the map has center longitude, center latitude and zoom level, that's it. Reset map view to center longitude, center latitude and zoom.
I have no idea if that would be hard to code.
Thanks in anticipation,
Last Edit: 3 years 2 months ago by christian1776b.