-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Error: Element for MapView already registered #1037
Labels
V3
Issues related to V3
Comments
@camilo02021 you can register plugin as: #1018 (comment) |
Thank you it works, it happens only with vue3, In vue2 I can use it by "Vue.use(GoogleMaps)" |
Thank you Juan, I appreciate your help
El lun, 10 abr 2023 a las 16:33, Juan de Dios Martínez Vallejo (<
***@***.***>) escribió:
… @camilo02021 <https://github.com/camilo02021> you can register plugin as: #1018
(comment)
<#1018 (comment)>
—
Reply to this email directly, view it on GitHub
<#1037 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATNAV544AJAPYEC6FZYZE63XAR4A7ANCNFSM6AAAAAAWZODP3M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@camilo02021 Yes, this is related to navigation. In the meantime you can declare your components like this, it's totally fine. I think it will be solved with this PR #1036 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue when I use "$navigateTo" when click on button I got " Error: Element for MapView already registered." It is because I'm using the plugging like this:
"import GoogleMaps from '@nativescript/google-maps/vue'
const app = createApp(Home)
app.use(GoogleMaps).start()"
It is how the documentation says, I think the "use.()" and the "$navigateTo" they conflict.
Any solution for this?
The text was updated successfully, but these errors were encountered: