When you pass an options object with camera.target set.
Calling GoogleMaps.create("divId", options), will show the map.
But retrieving the camera position when the map is ready, shows that the CameraPosition.Target is not exactly the value that is passed via options
Expected behavior:
The getCameraPosition().target should have exactly the same value as options.camera.target
Screen capture or video record:
Related code, data or error log (please format your code or data):
I'm submitting a ... (check one with "x")
OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior:
When you pass an
options
object withcamera.target
set. CallingGoogleMaps.create("divId", options)
, will show the map. But retrieving the camera position when the map is ready, shows that the CameraPosition.Target is not exactly the value that is passed viaoptions
Expected behavior:
The
getCameraPosition().target
should have exactly the same value asoptions.camera.target
Screen capture or video record:
Related code, data or error log (please format your code or data):
Running the code will result in the following lines in Console
Support this plugin activity
I appreicate if you give me a beer :beer: from here