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

Automatically get the center of the map and place a marker? #2906

Open
uhmarc opened this issue Apr 28, 2022 · 0 comments
Open

Automatically get the center of the map and place a marker? #2906

uhmarc opened this issue Apr 28, 2022 · 0 comments

Comments

@uhmarc
Copy link

uhmarc commented Apr 28, 2022

Hello,

I've been playing with the documentation for a few hours now and I got the map working in my Cordova app, but I am trying to achieve a very specific action and I can't figure out how:

  1. The marker is always in the center of the screen.
  2. When the map is moved, it automatically gets the center of the map which the user can then confirm.

Is there any simply code snippet available to achieve this? Any help would be greatly appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant