I using an extension Google Maps Sense, but that extension doesn't have much customize option, so i changed a little bit the js and i was succeeded. The problem is that i need to use one diferent pim according to a field value.
I think the best way is var image receive an array with all paths and inside the var marker i define with an"if", but i dont know how to pass a QS value to a JS file.