Embedded map view - Each own ID on markerOnPress component

Hello AppGyvers, today I have another nice task for you. On the Embedded map view you can see some markers.

In the logic section there is a markerOnPress component. If I press the marker, a new page is opened and an AppVariable is written with the “payload value” of the respective marker.

However, currently only the first value of the list of markers is taken and all makers write the same ID in the AppVariable.

How can I solve this?
Thanks for your support