iam trying to use the marker on google map laibrary app to add latitude and longitude  , is there any tutorial for using that?

I'm assuming you're getting a list of coordinates using an aggregate or advanced query. 

Since the input is a list of markers, you could use listappendall to add the mapping