Skip to content

Commit

Permalink
Disable broken sector labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahn committed Aug 6, 2021
1 parent 3de5770 commit 8b87a48
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@
'line-width': 1
}
});
// Add sector labels
json.features.forEach(function(sector){
console.log(sector)
var marker = new mapboxgl.Marker()
.setLngLat(turf.center({geojson: sector}))
.addTo(map);
});
// // Add sector labels
// json.features.forEach(function(sector){
// console.log(sector)
// var marker = new mapboxgl.Marker()
// .setLngLat(turf.center({geojson: sector}))
// .addTo(map);
// });

}catch(err){
throw Error(err);
Expand Down

0 comments on commit 8b87a48

Please sign in to comment.