diff --git a/src/agg/process_point_symbolizer.cpp b/src/agg/process_point_symbolizer.cpp index 356e31f4c..e3145d4d2 100644 --- a/src/agg/process_point_symbolizer.cpp +++ b/src/agg/process_point_symbolizer.cpp @@ -64,7 +64,7 @@ void agg_renderer::process(point_symbolizer const& sym, double x; double y; double z=0; - if (sym.get_point_placement() == POINT_PLACEMENT) + if (sym.get_point_placement() == CENTROID_POINT_PLACEMENT) geom.label_position(&x, &y); else geom.label_interior_position(&x, &y); diff --git a/src/cairo_renderer.cpp b/src/cairo_renderer.cpp index e31133fa8..9bef74838 100644 --- a/src/cairo_renderer.cpp +++ b/src/cairo_renderer.cpp @@ -1033,7 +1033,7 @@ void cairo_renderer_base::process(point_symbolizer const& sym, double y; double z = 0; - if (sym.get_point_placement() == POINT_PLACEMENT) + if (sym.get_point_placement() == CENTROID_POINT_PLACEMENT) geom.label_position(&x, &y); else geom.label_interior_position(&x, &y);