Get map markers

Hi,
I am using the Maps SDK for javascript. Is there a way of retrieving markers from the map by id, tag or lat long for example?
Regards,
Nigel

You could assign your marker to a variable while creating it.