malteos commited on
Commit
d8193b9
·
verified ·
1 Parent(s): c7ffa2e

Uploading paper explorer

Browse files
Files changed (2) hide show
  1. index.html +2 -11
  2. papers.js +0 -0
index.html CHANGED
@@ -61,17 +61,8 @@ document.addEventListener('DOMContentLoaded', function() {
61
  map.addControl( controlSearch );
62
 
63
  ////////////populate map with markers from sample data
64
- var colors = [
65
- "#63b598", "#ce7d78", "#ea9e70", "#a48a9e", "#c6e1e8", "#648177", "#0d5ac1",
66
- "#f205e6", "#1c0365", "#14a9ad", "#4ca2f9", "#a4e43f", "#d298e2", "#6119d0",
67
- "#d2737d", "#c0a43c", "#f2510e", "#651be6", "#79806e", "#61da5e", "#cd2f00",
68
- "#9348af", "#01ac53", "#c5a4fb", "#996635", "#b11573", "#4bb473", "#75d89e",
69
- "#2f3f94", "#2f7b99", "#da967d", "#34891f", "#b0d87b", "#ca4751", "#7e50a8",
70
- "#c4d647", "#e0eeb8", "#11dec1", "#289812", "#566ca0", "#ffdbe1", "#2f1179",
71
- ];
72
-
73
  var legendHtml = '<b>Legend:</b> '
74
- var moreFrom = 10;
75
 
76
  for (let i = 0; i < labels.length; i++) {
77
  if (i >= moreFrom) {
@@ -107,7 +98,7 @@ document.addEventListener('DOMContentLoaded', function() {
107
 
108
  // circleMarker, Marker
109
  marker = new L.circleMarker(new L.latLng(loc), {title: title, radius: 5, className: 'label-' + label} );//se property searched
110
- marker.bindPopup('<b><a href="'+ url + '">' + title + '</a></b> [' + venue + '] <i>' + authors + ':<br />' + abstract );
111
  //marker.setStyle({fillColor: colors[label]});
112
  marker.bindTooltip(title)
113
  marker.setStyle({color: colors[label]});
 
61
  map.addControl( controlSearch );
62
 
63
  ////////////populate map with markers from sample data
 
 
 
 
 
 
 
 
 
64
  var legendHtml = '<b>Legend:</b> '
65
+ var moreFrom = 15;
66
 
67
  for (let i = 0; i < labels.length; i++) {
68
  if (i >= moreFrom) {
 
98
 
99
  // circleMarker, Marker
100
  marker = new L.circleMarker(new L.latLng(loc), {title: title, radius: 5, className: 'label-' + label} );//se property searched
101
+ marker.bindPopup('<b><a href="'+ url + '">' + title + '</a></b> [' + labels[label] + '] <i>' + authors + '. Published at ' + venue + ':<br />' + abstract );
102
  //marker.setStyle({fillColor: colors[label]});
103
  marker.bindTooltip(title)
104
  marker.setStyle({color: colors[label]});
papers.js CHANGED
The diff for this file is too large to render. See raw diff