-
Notifications
You must be signed in to change notification settings - Fork 918
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
map.setDiv() tries to change value of a readonly property #2809
Labels
Comments
Ok, I'll check it later |
Ok, I fixed problem, however you also need to change your code. First, please upgrade
Second, you also need to reinstall the
Third, modify your code Then the app should work like this |
Many thanks for the quick response and the adaptations to the source code. It now works as desired. |
paulnagle
pushed a commit
to paulnagle/cordova-plugin-googlemaps
that referenced
this issue
Jan 29, 2023
…psplugin#2809 Bug fix: background does not work correctly
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I'm submitting a ...
If you choose 'problem or bug report', please select OS:
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:
If you hide the map with the
map.setDiv()
method through the Ionic lifecycle methodsionViewWillLeave
it works the first time. But the second time it can't hide the map.To reproduce in the repository you need to go to "Next page" and back two times. The second time the error occurs. In the browser platform the error occurs on the first call.
Expected behavior:
Should hide the map without errors.
Screen capture or video record:
Related code, data or error log (please format your code or data):
Repository: https://github.com/longinius/ionic-native-maps-error
The text was updated successfully, but these errors were encountered: