commit
a608269946
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ struct placement_finder_adapter
|
|||
points_on_line_(points_on_line) {}
|
||||
|
||||
template <typename PathT>
|
||||
void add_path(PathT & path)
|
||||
void add_path(PathT & path) const
|
||||
{
|
||||
status_ = finder_.find_line_placements(path, points_on_line_);
|
||||
}
|
||||
|
|
|
@ -335,7 +335,7 @@ bool text_symbolizer_helper::next_line_placement() const
|
|||
{
|
||||
auto const& line = util::get<geometry::line_string<double> const>(*geo_itr_);
|
||||
geometry::line_string_vertex_adapter<double> va(line);
|
||||
//converter_.apply(va, adapter_);
|
||||
converter_.apply(va, adapter_);
|
||||
if (adapter_.status())
|
||||
{
|
||||
//Found a placement
|
||||
|
|
Loading…
Reference in a new issue