This.map.off() - No working in ionic 3

Does anyone know if this is updated and is no longer used

pasar_data() {
      this.map.clear().then(() => {
        //this.map.off();   <-----Error
      });
  }

What is this? There’s no map in Ionic, and there’s no off method in Map.prototype. If you’re asking about the Google Maps API, you could just read the Google Maps API.

I need to cancel an event on the map but I do not know how to cancel it

You still have not said what a map is.

I’m trying to cancel this event through a button but I do not know what method to use the:

this.map.clear ();

it does not work

this.map.on(GoogleMapsEvent.MAP_DRAG_END).subscribe(() => {
console.log('Move Map')
})