From be16cf2f6e4548d3ba6f0554202c921b0c90b5a5 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Mon, 20 Apr 2020 00:02:28 +0200 Subject: Automatically disable anti-aliasing on high zoom levels --- htdocs/streeteditor.js | 1 - 1 file changed, 1 deletion(-) (limited to 'htdocs/streeteditor.js') diff --git a/htdocs/streeteditor.js b/htdocs/streeteditor.js index 6cc8e18..2d9f074 100644 --- a/htdocs/streeteditor.js +++ b/htdocs/streeteditor.js @@ -94,7 +94,6 @@ if (editor_mode) { window.addEventListener("mouseup", onDragEnd, false); // Workaround as polyline.on(dragend, ) doesn't seem to work // Configure map for better editing - document.getElementById('mapid').classList.add("no-aa"); mymap.setMaxZoom(14); mymap.off('click', onMapClick); -- cgit v1.2.3