diff --git a/sigiStatic/js/metas/mapa.js b/sigiStatic/js/metas/mapa.js
index 91c81b3..33f10cb 100644
--- a/sigiStatic/js/metas/mapa.js
+++ b/sigiStatic/js/metas/mapa.js
@@ -43,12 +43,16 @@
icon: '/static/img/mapmarker.png'
}
var mark = new google.maps.Marker(markData);
- var infoWin = new google.maps.InfoWindow({content:
- '' + municipio.nome + '
' +
- municipio.info + '
' +
- '' +
- '' +
- '' });
+ var iwcontent = '' + municipio.nome + '
' +
+ municipio.info;
+
+ if (municipio.thumb != '') {
+ iwcontent = iwcontent + '
' +
+ '' +
+ '';
+ }
+
+ var infoWin = new google.maps.InfoWindow({content: iwcontent });
linkMarkMessage(mark, infoWin, map);
municipio['mapmark'] = mark;
municipio['infowindow'] = infoWin;