How to pass data from one page to another

My issue is that i can’t send value data from one page to another page. I was searching and I found that i had to use navParams or NavController.push…something like that, but it doesn’t work for me. I’m developing on Ionic 5

I would like to send the content of this array:

markers: any = [
    {
        title: "SAT Aduana de Lázaro Cárdenas ",
        latitude: "17.982166 ",
        longitude: "-102.179184"
    },
    {
        title: "Aduana de Acapulco",
        latitude: "16.848811",
        longitude: "-99.905043"
    },
    {
        title: "Aduana de Manzanillo",
        latitude: "19.075488",
        longitude: "-104.285516"
    }
     
  ];

to another page, and then use it.
I hope someone can help me.

If you’re really attached to the design that you describe, I’m sure somebody will be along to assist you with realizing it, but I’m going to try to convince you to rethink it and instead architect this using a service as is described in Tour of Heroes Chapter 4.