cordova-plugin-googlemaps icon indicating copy to clipboard operation
cordova-plugin-googlemaps copied to clipboard

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

Open uhmarc opened this issue 4 years ago • 0 comments

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 :)

uhmarc avatar Apr 28 '22 21:04 uhmarc