Skip to content
New issue

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

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

Already on GitHub? # to your account

[FEATURE] How to use the map rotation function on the web? Both Android and IOS can realize map rotation, but the web side cannot #1473

Closed
3 tasks done
BearnLee opened this issue Mar 27, 2023 · 5 comments
Labels
feature [DEPRECATED] This issue requests a new feature P: ∞ (won't add/fix) This bug won't be fixed, or the feature won't be implemented

Comments

@BearnLee
Copy link

What do you want implemented?

How to use the map rotation function on the web? Both Android and IOS can realize map rotation, but the web side cannot

What other alternatives are available?

How to use the map rotation function on the web? Both Android and IOS can realize map rotation, but the web side cannot

Can you provide any other information?

How to use the map rotation function on the web? Both Android and IOS can realize map rotation, but the web side cannot

Platforms Affected

Web

Severity

Annoying: Currently have to use workarounds

Requirements

@BearnLee BearnLee added the feature [DEPRECATED] This issue requests a new feature label Mar 27, 2023
@TesteurManiak
Copy link
Contributor

You can rotate the map programatically using the method rotate from MapController. You can also check the flutter_map_animations package to get something smoother.

@BearnLee
Copy link
Author

Thx,dear!
I know that map rotation can be controlled through mapController. I thought that right-clicking on the web side can control the rotation of the map, because other maps are like this, and I thought flutter_map is like this, which is different from what I thought. If I want to right-click to rotate the map, do I need to implement related functions myself?

@TesteurManiak
Copy link
Contributor

Yes you'll have to implement this yourself but you might want to wait that this PR is merged first #1448 as it'll add a right click callback to the map.

@BearnLee
Copy link
Author

Ok,thx!

@JaffaKetchup
Copy link
Member

#1448 is now merged and available on master. Closing this as we are unlikely to implement this. PRs welcome!

@JaffaKetchup JaffaKetchup closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2023
@JaffaKetchup JaffaKetchup added the P: ∞ (won't add/fix) This bug won't be fixed, or the feature won't be implemented label Mar 29, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature [DEPRECATED] This issue requests a new feature P: ∞ (won't add/fix) This bug won't be fixed, or the feature won't be implemented
Projects
None yet
Development

No branches or pull requests

3 participants