Change google maps map type [ SOLVED ]

I’m using the google maps plugin and I want to change the map type. In options I have the following, but it doesn’t work, I have changed it to different types but always appears the same type of map:

let opciones: GoogleMapOptions = {
            mapType: GoogleMapsMapTypeId.SATELLITE,
            controls: {
                compass: false,
                zoom: true,
                myLocationButton: true,
                myLocation: true

How can I change the map type?
Thank you.

Have you tried setting the mapType to just ‘SATELLITE’ ?

Yes ChriisGriiffith, , but it didn’t work.

It’s already resolved. I removed it from the options and after creating the map I changed the type.