From 9bdca975796d9d5e04e48662df9da416c138487a Mon Sep 17 00:00:00 2001 From: Brian Reavis Date: Sun, 2 Aug 2015 14:55:26 -0600 Subject: [PATCH] Fixed dot symbolizer not acknowledging scale factor. --- src/agg/process_dot_symbolizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agg/process_dot_symbolizer.cpp b/src/agg/process_dot_symbolizer.cpp index 322bfeaf4..cc375862d 100644 --- a/src/agg/process_dot_symbolizer.cpp +++ b/src/agg/process_dot_symbolizer.cpp @@ -106,8 +106,8 @@ void agg_renderer::process(dot_symbolizer const& sym, { width = height = get(sym, keys::height, feature, common_.vars_, 0.0); } - double rx = width/2.0; - double ry = height/2.0; + double rx = width/2.0 * common_.scale_factor_; + double ry = height/2.0 * common_.scale_factor_; double opacity = get(sym, keys::opacity, feature, common_.vars_, 1.0); color const& fill = get(sym, keys::fill, feature, common_.vars_, mapnik::color(128,128,128)); ras_ptr->reset();