Bas Couwenberg pushed to branch upstream at Debian GIS Project / jmapviewer


Commits:
81a7f3de by Bas Couwenberg at 2025-02-05T05:28:44+01:00
New upstream version 2.24+dfsg
- - - - -


1 changed file:

- src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java


Changes:

=====================================
src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java
=====================================
@@ -158,7 +158,9 @@ public class BingAerialTileSource extends TMSTileSource {
         String key = FeatureAdapter.getSetting(API_KEY_SETTING, API_KEY);
         if (API_KEY.equals(key)) { // If the API key has not been customized, 
we try to retrieve the API key
             try {
-                key = FeatureAdapter.retrieveApiKey(this.getId());
+                String rkey = FeatureAdapter.retrieveApiKey(this.getId());
+                if (rkey != null)
+                    key = rkey;
             } catch (IOException ioException) {
                 FeatureAdapter.getLogger(this.getClass()).log(Level.WARNING, 
"Failed to retrieve api key", ioException);
             }



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/jmapviewer/-/commit/81a7f3de7103da1fb226add1b587d648a1be4bd8

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/jmapviewer/-/commit/81a7f3de7103da1fb226add1b587d648a1be4bd8
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to