you have declared a variable named google as any inside a class. Thats all, (as far as I see) but I assume you want that the variable named google should represent something that have .maps…
Maybe you should do that or you decare it ouside like
declare var google;
in hope that magic late binding finds something matching.
It’s better to just install the types for Google maps: npm install @types/googlemaps --save
Declaring the variable will work, but that’s basically just a way to ignore the types completely. Installing the types means you won’t need to add workaround code, and you get the benefit of using the appropriate types.
No, the --v2 flag was used a long time ago to generate Ionic 2 projects instead of Ionic 1 projects. The current version of Ionic is 3, and there is no need to use a flag.
Hello,
my english and my explenation are not the best, so I try mostly to link to people how can explain thinks better. You do a great job with your tutorials. Thanks for that.
Your new tutorial is newer, but it use capacitor which is not production ready (as you stated) Maybe this makes for the thread creator more confusing.
Best regards, anna-liebt.
Bytheway, I think I must look to a tutorial to create and integrate web components in my work.