瀏覽代碼

Added titles to tester markers.

Alan Lam 8 年之前
父節點
當前提交
28910ddb5d
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  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.position = position;
 			options.icon = "/img/markers/" + icon + ".png";
+			options.title = tester.name;
 
 			let marker = new google.maps.Marker(options);
 			marker.addressId = tester.id;