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

How to prevent jumping to new marker? #11956

Closed
FireWingHu opened this issue Jan 27, 2021 · 2 comments
Closed

How to prevent jumping to new marker? #11956

FireWingHu opened this issue Jan 27, 2021 · 2 comments
Labels

Comments

@FireWingHu
Copy link

Hi All,
could you help please? I'm using OSM/OL for a project, and I'm displaying some markers on the map. In the background I'm querying a MYSQL table with ajax in every minute, and modifying the location of the markers, or removing/pinning new markers, if necessary. In case of pinning a new marker (as a new div element) the map jumps to that location automaticly. Is it possible to disable this? I would like to preserve the original view with the original position and original zoom independently from the new marker.

Thanks in advance,
P

@jipexu
Copy link
Contributor

jipexu commented Jan 31, 2021

Hi
Difficult to understand and try to answer without some piece of code ..

@stale
Copy link

stale bot commented Jun 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 9, 2021
@stale stale bot closed this as completed Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants