Searches for a marker with the given id, passes it to the optional callback function (if provided), and returns it.

Parameters:

Returns: A promise that resolves to the marker object that is passed to the callback.

Code Sample