emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/osm d065db8615 09/77: Add humanitarian base map


From: ELPA Syncer
Subject: [elpa] externals/osm d065db8615 09/77: Add humanitarian base map
Date: Mon, 7 Mar 2022 08:58:04 -0500 (EST)

branch: externals/osm
commit d065db8615ba4bb1a70785ff2a0ad1af7066cc0d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Add humanitarian base map
---
 osm.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/osm.el b/osm.el
index 4ca5b53ebf..984db67566 100644
--- a/osm.el
+++ b/osm.el
@@ -56,6 +56,12 @@
      :url ("https://a.tile.openstreetmap.fr/osmfr/";
            "https://b.tile.openstreetmap.fr/osmfr/";
            "https://c.tile.openstreetmap.fr/osmfr/";))
+    (openstreetmap-humanitarian
+     :name "OpenStreetMap Humanitarian"
+     :min-zoom 2 :max-zoom 19 :max-connections 2
+     :url ("https://a.tile.openstreetmap.fr/hot/";
+           "https://b.tile.openstreetmap.fr/hot/";
+           "https://c.tile.openstreetmap.fr/hot/";))
     (opentopomap-org
      :name "OpenTopoMap"
      :min-zoom 2 :max-zoom 17 :max-connections 2
@@ -218,7 +224,7 @@ We need two distinct images which are not `eq' for the 
display properties.")
              (with-current-buffer buffer
                (when (and (string-match-p "finished" status)
                           (eq osm--zoom zoom))
-                 (rename-file tmp dst t)
+                 (ignore-errors (rename-file tmp dst t))
                  (osm--put x y))
                (delete-file tmp)
                (force-mode-line-update)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]