From 2bbc1175288b9f14b69d498b62e5c8dbf542c8e0 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sun, 3 Jul 2016 14:44:05 +0100 Subject: [PATCH] Base64-encode the SVG markers, seems to make Firefox happier. --- public_html/markers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/markers.js b/public_html/markers.js index 508be20..b11c6f7 100755 --- a/public_html/markers.js +++ b/public_html/markers.js @@ -113,5 +113,5 @@ function svgPathToSvg(path, size, stroke, width, fill) { function svgPathToURI(path, size, stroke, width, fill) { - return "data:image/svg+xml," + svgPathToSvg(path, size, stroke, width, fill) + return "data:image/svg+xml;base64," + btoa(svgPathToSvg(path, size, stroke, width, fill)); }