Fixed dot symbolizer not acknowledging scale factor.

This commit is contained in:
Brian Reavis 2015-08-02 14:55:26 -06:00
parent 6b05f19c38
commit 9bdca97579

View file

@ -106,8 +106,8 @@ void agg_renderer<T0,T1>::process(dot_symbolizer const& sym,
{
width = height = get<double>(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<double>(sym, keys::opacity, feature, common_.vars_, 1.0);
color const& fill = get<mapnik::color>(sym, keys::fill, feature, common_.vars_, mapnik::color(128,128,128));
ras_ptr->reset();