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

Icon arrow direction on Streetview map control #338

Closed
wants to merge 1 commit into from
Closed

Conversation

volterra79
Copy link
Member

Closes: #337

…e las one property is used to avoid to reset initial starting rotation when resolution change due to zoom in zoom out of the map
Comment on lines +42 to +53
/**
* Object contain previuos data referred to :
* - rotation: for array rotation
* - resolution: map view resolution
* - position: lat lng of streetview
* @type {{rotation: null, position: null, resolution: null}}
*/
this.cached = {
position: [0, 0],
resolution: null,
rotation: null
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some tests, but even so the position seems to me to be often wrong (ie. not so deterministic)

@Raruto Raruto added duplicate This issue or pull request already exists bug Something isn't working and removed bug Something isn't working labels Feb 16, 2023
@Raruto Raruto modified the milestones: v3.8, v3.9 Mar 28, 2023
@Raruto Raruto removed the bug Something isn't working label Jul 21, 2023
@Raruto Raruto modified the milestones: v3.9, v3.10 Oct 19, 2023
@Raruto Raruto closed this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
2 participants