- No working in ionic 3

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

pasar_data() { => {
        //;   <-----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: ();

it does not work => {
console.log('Move Map')