Maps icon indicating copy to clipboard operation
Maps copied to clipboard

Missing "reset" button, to go back where you started

Open stitch opened this issue 7 years ago • 2 comments

Setup

https://www.semantic-mediawiki.org/wiki/Maps_examples/OpenLayers_with_layer_maps

Issue

It's pretty easy to lose focus / track on where you are playing around on the map. Sometimes you've accidentally moved to a certain area, zoomlevel and want to go back to the start.

Is it possible to hit a "reset" button to go back to the initial position and zoomlevel without refreshing the page?

stitch avatar Apr 21 '17 12:04 stitch

I think you cannot currently do this, though it should be possible to modify the code so you can. Do you want this for some specific mapping service or for maps in general?

JeroenDeDauw avatar Apr 21 '17 14:04 JeroenDeDauw

I've added the "center / centre" instruction to make sure that out of bound results are not shown.

This was a good start, as the map now starts of with the right location. Perhaps this input is a starting point for a reset functionality.

stitch avatar May 12 '17 10:05 stitch