Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable map auto-zoom #6283

Closed
scratchpads opened this issue Nov 15, 2020 · 3 comments · Fixed by #6325
Closed

Disable map auto-zoom #6283

scratchpads opened this issue Nov 15, 2020 · 3 comments · Fixed by #6325
Labels
topic: maps this relates to maps on scratchpads type: feature this suggests a new feature or improvement for scratchpads

Comments

@scratchpads
Copy link

Description:

Is it possible for the distribution map to remain in a set position as opposed to shifting to where the records are located?

For example, I have set the map so that the UK is in the centre of the window but when I add a species distribution to the map, the map shifts due to the areas added.

Thanks.

@PaulKiddle
Copy link
Contributor

This should be fairly straightforward. We'd need to add an extra option to gm3.admin.inc, then check the settings object in gm3.js before calling autozoom.

@PaulKiddle PaulKiddle added type: feature this suggests a new feature or improvement for scratchpads good first issue topic: maps this relates to maps on scratchpads labels Nov 19, 2020
@PaulKiddle PaulKiddle changed the title Map issue Disable map auto-zoom Nov 19, 2020
@scratchpads
Copy link
Author

Comment by Barry Warrington

Thanks, although that means very little to me! Having set the map (using lat/long) so that the U.K. was central, I added all the VC’s where a species is known but depending where these areas are, the map shifts and/or zooms in/out.

@BarryWarrington
Copy link

Hi,

Will the map auto zoom issue be resolved soon? Only reason I ask is the site will be going live soon and I’d like this feature to be fixed.

Many thanks,

Barry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: maps this relates to maps on scratchpads type: feature this suggests a new feature or improvement for scratchpads
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants