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

Feature: Add a "default map view" setting #22

Open
fpapado opened this issue Jul 7, 2019 · 0 comments
Open

Feature: Add a "default map view" setting #22

fpapado opened this issue Jul 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@fpapado
Copy link
Owner

fpapado commented Jul 7, 2019

Is your feature request related to a problem? Please describe.
A core use-case of this application is people moving to different places.
Imagine a case where someone has had a lot of pins in country/city X, and moved to Y.
They might not want all those pins skewing the map!

Describe the solution you'd like
There could be a "default map view" option (two boxes, with validation), that allows the user
to set their map view. There might also be help text as to how to get the location of a city.
Then, we would set two layers of views in leaflet-map:

  • defaultLatitude/defaultLongitude, which will be picked if...
  • fitToMarkers is set to false or undefined
  • If not default or fit is specified, then fitWorld
@fpapado fpapado added the enhancement New feature or request label Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant