From 2918a346210c2d5b59c159fd9cc4474ba5070822 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Thu, 27 Mar 2025 16:46:45 -0400 Subject: [PATCH] Use svg.render_document() instead --- lib/xmet/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/map.py b/lib/xmet/map.py index b94f572..2c2daa0 100644 --- a/lib/xmet/map.py +++ b/lib/xmet/map.py @@ -44,7 +44,7 @@ class EquirectMap(): rect.width = width rect.height = height - svg.render_layer(cr, None, rect) + svg.render_document(cr, rect) def draw_base_map_from_file(self, cr: cairo.Context,