diff --git a/include/mapnik/label_collision_detector.hpp b/include/mapnik/label_collision_detector.hpp index ed1220ad9..cedde6c82 100644 --- a/include/mapnik/label_collision_detector.hpp +++ b/include/mapnik/label_collision_detector.hpp @@ -190,7 +190,7 @@ namespace mapnik return true; } - bool has_point_placement(Envelope const& box, UnicodeString const& text, double distance) + bool has_point_placement(Envelope const& box, double distance) { Envelope bigger_box(box.minx() - distance, box.miny() - distance, box.maxx() + distance, box.maxy() + distance); tree_t::query_iterator itr = tree_.query_in_box(bigger_box); diff --git a/src/placement_finder.cpp b/src/placement_finder.cpp index 0766b625c..9cc03eb4a 100644 --- a/src/placement_finder.cpp +++ b/src/placement_finder.cpp @@ -343,7 +343,7 @@ namespace mapnik } if (!dimensions_.intersects(e) || - !detector_.has_point_placement(e, p.info.get_string(), p.minimum_distance)) + !detector_.has_point_placement(e, p.minimum_distance)) { return; }