-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add all locations layer to the map #3056
Draft
ysf-simsoft
wants to merge
3
commits into
main
Choose a base branch
from
GH-3045-add-all-locations-layer-to-the-map
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e7ffde2
to
7b8d1a8
Compare
7b8d1a8
to
4850220
Compare
VassilIordanov
previously requested changes
Jun 27, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of the png files is never used
b5c9bc2
to
9e3cfe7
Compare
14 tasks
9e3cfe7
to
fa86e0c
Compare
fa86e0c
to
6eae0bf
Compare
6eae0bf
to
8e76c13
Compare
8e76c13
to
06780cb
Compare
14c7da3
to
8652ed2
Compare
8652ed2
to
94de62c
Compare
ce5f399
to
4b01b02
Compare
4b01b02
to
3601651
Compare
3601651
to
a0907db
Compare
a0907db
to
e50becf
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the map component is loaded, all locations are fetched and added to the existing layer control as an overlay. Adding as an overlay gives us the ability to toggle all locations layer. By default when all locations layer is added to the map, we automatically adjust zoom level to make all locations visible. Exceptionally, while editing/creating a location we preserve the current zoom level in order not to fly user away from current location/area.
Additionally when there are other markers on the map we keep them and put new markers for all locations. This results in duplicate markers on already existing markers, however, we use a different icon for all locations overlay so that even there are two markers on same point they are displayed differently, serving different purposes.
Release notes
Closes #3045
User changes
Super User changes
Admin changes
System admin changes
none
anet.yml needs change
db needs migration
documentation has changed
graphql schema has changed
Checklist
repo#issue: Title
title format and these 7 rules