diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:59:30 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-29 20:59:30 +0000 |
| commit | 104e885981dec31aff9a5aaacc3abe2debcc9eba (patch) | |
| tree | 53c7260f81b24f4164d8cd5fb446c9c11e388472 /web/public/javascripts/map.js | |
| parent | 4315ac98ec453f1e1463d370d361576c39ebbb1b (diff) | |
Merging.feat/33
Diffstat (limited to 'web/public/javascripts/map.js')
| -rw-r--r-- | web/public/javascripts/map.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js index abb988a..c5b1583 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -24,12 +24,6 @@ function plotPointsOnMap(points) { pointToLayer: function (feature, latlng) { //return L.circleMarker(latlng); latlngbounds.extend(latlng); - if (feature.status === "pending") { - return L.marker(latlng, {icon: orangeIcon}); - } - else if (feature.status === "new") { - return L.marker(latlng); - } } }).on('click', showDetails).addTo(map); |
