You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Property 'capacitor-google-map' does not exist on type 'JSX.IntrinsicElements' #84
I am building an Ionic app using React. I import the google maps plugin fine, but when I try to add the google maps component I am getting a TypeScript error.
Property 'capacitor-google-map' does not exist on type 'JSX.IntrinsicElements'.ts(2339)
The plugin is installed and I was able to find the type definitions. What could the problem be?
Activity
alexsorkin commentedon Jun 9, 2025
Put in to your src/global.d.ts:
But.. this should be stated in Readme (React specific) as it does for Angular.
So, I still consider it a bug.
Also the css:
Is mandatory. Without it, capacitor-google-map fails rendering.