I'm doing tests with googlemaps using ionic 3.14
I have managed to visualize the map,
Now I'm trying to perform geo-mapping to show my current location using the CameraPosition method This is the code that I was able to find
moveCamera(loc: LatLng){
// create CameraPosition
let options: CameraPosition = {
target: loc,
zoom: 18,
tilt: 30
};
this.map.moveCamera(options)
}
But I have an error in CameraPosition
ts] Generic type 'CameraPosition<T>' requires 1 type argument(s).
import CameraPosition
what is the error? , Thank you.