# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/nnotario/projects/agrolanza/sites/all/modules/geofield
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: modules/geofield_map/js/geofield_map.js
--- modules/geofield_map/js/geofield_map.js Base (BASE)
+++ modules/geofield_map/js/geofield_map.js Locally Modified (Based On LOCAL)
@@ -76,7 +76,7 @@
                 var marker = new google.maps.Marker({
                   position: point,
                   map: map,
-                  title: "test"
+                  title: ""
                 });
 
                 if (data[i].icon != undefined) {
@@ -85,6 +85,9 @@
                 marker.setValues({'data_id': i});
 
                 if (data[i].points[0]['text'] !== '') {
+                  marker.title = data[i].points[0].text;
+                  marker.title = marker.title.replace(/<a\b[^>]*>/i,"");
+                  marker.title = marker.title.replace(/<\/a>/i, "");
                   google.maps.event.addListener(marker, 'click', function() {
                     if (data[this.data_id].points[0].text) {
                       infowindow.setContent(data[this.data_id].points[0].text);
