diff --git a/src/marker_cache.cpp b/src/marker_cache.cpp index d483d7b47..970e310f3 100644 --- a/src/marker_cache.cpp +++ b/src/marker_cache.cpp @@ -181,6 +181,7 @@ boost::optional marker_cache::find(std::string const& uri, double lox,loy,hix,hiy; svg.bounding_rect(&lox, &loy, &hix, &hiy); marker_path->set_bounding_box(lox,loy,hix,hiy); + marker_path->set_dimensions(svg.width(),svg.height()); marker_ptr mark(boost::make_shared(marker_path)); result.reset(mark); if (update_cache)