I'm doing this tutorial on Google Maps into Ionic and I did everything, amended other mistakes but I get this error:
[14:33:14] transpile started ... [14:33:27] typescript: ...ncisco/ionic/ionic-google-maps-example/src/components/google-maps/google-maps.ts, line: 157 Cannot find name 'google'.
L157: let latLng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
[14:33:27] typescript: ...ncisco/ionic/ionic-google-maps-example/src/components/google-maps/google-maps.ts, line: 164 Cannot find name 'google'.
L164: this.map = new google.maps.Map(this.element.nativeElement, mapOptions); L165: resolve(true);
I followed the advice from the tutorial and ran:
npm install @types/googlemaps --save-dev
However, it didn't change anything. I've seen other post suggesting running a command with typings to install it but still it doesn't see it.