Changeset 201 for binary-improvements
- Timestamp:
- Oct 2, 2014, 11:48:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/index.js
r200 r201 462 462 var m = L.marker(pos, { clickable: false, keyboard: false, zIndexOffset:-1000, iconSize: [0,0], icon: L.divIcon({className: 'invisIcon', iconSize:[0,0]}) }); 463 463 if (playersMappingList.hasOwnProperty(steamid)) { 464 r.bindPopup("Owner: " + playersMappingList[steamid].name + "("+steamid+")");464 var name = playersMappingList[steamid].name; 465 465 } else { 466 r.bindPopup("Owner: unknown ("+steamid+")");466 var name = "unknown" 467 467 } 468 r.bindPopup("Owner: " + name + " ("+steamid+")<br/>Position: " + val.x + " / " + val.y + " / " + val.z); 468 469 landClaimsRectGroup.addLayer(r); 469 470 landClaimsClusterGroup.addLayer(m);
Note:
See TracChangeset
for help on using the changeset viewer.