diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java index 269b1ff..4536b3c 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java @@ -150,6 +150,8 @@ public class MapWithAILayerInfo { Logging.warn("Unable to load imagery preference entry:" + e); } } + // Remove a remote control commands in layers + layers.removeIf(i -> i.getUrl().contains("localhost:8111")); Collections.sort(layers); } loadDefaults(false, MainApplication.worker, fastFail, listener);