Just to make absolutely clear what I want to do:
for each obj in my array collection
ProcedureToPlotMap(obj.imageShape, obj.contentId, obj.title, obj.latcoord, obj.longcoord)
end for each
ProcedureToPlotMap should:
populate map with the imageShape(a rectangle with a image from an url that differes from each marker), at the giving coordinates (lat, long)
attaches an infowindow to the marker, that when you click on it, then it will display a title and inside the content: a button that has the passed contentId as a parameter (then just an event that catches the passed id and know what marker you pressed the button on)
The problem lies with I dont want to use any feed file, but simply from an array of objects. I know many have asked on this forum, none has posted a solution, so is this possible with this API? if so, please write a few code examples, this will not only help me, but alot others with same problem.