Răsfoiți Sursa

Added titles to tester markers.

Alan Lam 8 ani în urmă
părinte
comite
28910ddb5d
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      public/js/app-project.js

+ 1 - 0
public/js/app-project.js

@@ -178,6 +178,7 @@ function initialiseTesters() {
 			options.map = map;
 			options.map = map;
 			options.position = position;
 			options.position = position;
 			options.icon = "/img/markers/" + icon + ".png";
 			options.icon = "/img/markers/" + icon + ".png";
+			options.title = tester.name;
 
 
 			let marker = new google.maps.Marker(options);
 			let marker = new google.maps.Marker(options);
 			marker.addressId = tester.id;
 			marker.addressId = tester.id;