Changeset 18912 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2023-12-14T13:55:36+01:00 (15 months ago)
Author:
taylor.smock
Message:

Fix #23227: Use the appropriate Bing layer

Microsoft guidance indicates that they do not want us to use the old Aerial
layer. This appears to be due to increasing usage of their API and their desire
to separate free usage from paid usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/CachedAttributionBingAerialTileSource.java

    r16426 r18912  
    3434     */
    3535    public CachedAttributionBingAerialTileSource(ImageryInfo info) {
    36         super(info);
     36        this(info, null);
    3737    }
    3838
     
    4646        super(info);
    4747        this.attributionDownloadedTask = attributionDownloadedTask;
     48        // See #23227 and https://github.com/openstreetmap/iD/issues/9153#issuecomment-1781569820
     49        // Of specific note:
     50        // > Due to increased usage of Bing Maps imagery APIs, we decided to separate the free usage of the API
     51        // > (for OSM editors) from the paid usage of the API.
     52        // We aren't paying for access, so we should solely use the AerialOSM layer.
     53        super.setLayer("AerialOSM");
    4854    }
    4955
Note: See TracChangeset for help on using the changeset viewer.