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

NO NATIVE COMPONENT FOR ELEMENT TAG NAME NATIVEMAPVIEW #9

Open
liamcharmer opened this issue Jul 26, 2022 · 1 comment
Open

NO NATIVE COMPONENT FOR ELEMENT TAG NAME NATIVEMAPVIEW #9

liamcharmer opened this issue Jul 26, 2022 · 1 comment

Comments

@liamcharmer
Copy link

For some reason the map no longer works and appears with

TypeError: No native component for element tag name nativemapview.

@Wimpje
Copy link

Wimpje commented Oct 29, 2022

You might have referenced the old MapView in the import instead of 'GoogleMaps' ?
import { GoogleMaps } from '@kefah/nativescript-google-maps';
and then use it instead of the old MapView

for Vue you can do:
Vue.registerElement('MapView', () => GoogleMaps)
for angular it seems to be:
registerElement('MapView', () => GoogleMaps);

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

2 participants