Set title-test of markers
diff --git a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
index 1a8a504..2ce8aee 100644
--- a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
+++ b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
@@ -31,6 +31,7 @@
lm.circle.setRadius(local.radius(local.computeLocationArea(it.leafEntityCount)));
lm.circle.setCenter(latlng);
lm.marker.setPosition(latlng);
+ lm.marker.setTitle(it.name);
// lm.infoWindow.setPairs(l);
newLocs[id] = lm;
@@ -40,7 +41,8 @@
var marker = new google.maps.Marker({
map: map,
- position: new google.maps.LatLng(it.latitude, it.longitude)
+ position: new google.maps.LatLng(it.latitude, it.longitude),
+ title: it.name
});
// TODO from old grails app