Turn off smoothing factor on area markers

This commit is contained in:
Mike Primm 2011-11-29 21:54:08 +08:00 committed by mikeprimm
parent ba0d197e78
commit 3ad67483ae

View File

@ -104,7 +104,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
} }
function createArea(set, area, ts) { function createArea(set, area, ts) {
var style = { color: area.color, opacity: area.opacity, weight: area.weight, fillOpacity: area.fillopacity, fillColor: area.fillcolor }; var style = { color: area.color, opacity: area.opacity, weight: area.weight, fillOpacity: area.fillopacity, fillColor: area.fillcolor, smoothFactor: 0.0 };
if(area.x.length == 2) { /* Only 2 points */ if(area.x.length == 2) { /* Only 2 points */
if(area.ytop == area.ybottom) { if(area.ytop == area.ybottom) {