Changeset 15855 in josm


Ignore:
Timestamp:
2020-02-15T16:05:13+01:00 (6 weeks ago)
Author:
Don-vip
Message:

see #18440 - Fetch imagery API keys from JOSM website. Restore access to Maxar imagery. Requires JMapViewer 2.13

Location:
trunk/src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainInitialization.java

    r15702 r15855  
    3030import org.openstreetmap.josm.io.OsmApiInitializationException;
    3131import org.openstreetmap.josm.io.OsmTransferCanceledException;
     32import org.openstreetmap.josm.io.imagery.ApiKeyProvider;
    3233import org.openstreetmap.josm.spi.lifecycle.InitializationSequence;
    3334import org.openstreetmap.josm.spi.lifecycle.InitializationTask;
     
    143144            new InitializationTask(tr("Updating user interface"), () -> GuiHelper.runInEDTAndWait(() -> {
    144145                // hooks for the jmapviewer component
     146                FeatureAdapter.registerApiKeyAdapter(ApiKeyProvider::retrieveApiKey);
    145147                FeatureAdapter.registerBrowserAdapter(OpenBrowser::displayUrl);
    146148                FeatureAdapter.registerImageAdapter(ImageProvider::read);
Note: See TracChangeset for help on using the changeset viewer.