Class WikimediaCommonsLayer
java.lang.Object
org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
org.openstreetmap.josm.gui.layer.Layer
org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
org.openstreetmap.josm.gui.layer.geoimage.WikimediaCommonsLayer
- All Implemented Interfaces:
ImageData.ImageDataUpdateListener,Lockable,ProjectionChangeListener,DownloadFromServer,IGeoImageLayer,JumpToMarkerActions.JumpToMarkerLayer,MapViewPaintable,SaveToFile,UploadToServer,NavigatableComponent.ZoomChangeListener,Destroyable
A layer showing geocoded images from Wikimedia Commons
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.layer.Layer
Layer.LayerAction, Layer.LayerGpxExportAction, Layer.LayerSaveAction, Layer.LayerSaveAsAction, Layer.MultiLayerAction, Layer.SeparatorLayerActionNested classes/interfaces inherited from class org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
AbstractMapViewPaintable.CompatibilityModeLayerPainterNested classes/interfaces inherited from interface org.openstreetmap.josm.gui.layer.geoimage.IGeoImageLayer
IGeoImageLayer.ImageChangeListenerNested classes/interfaces inherited from interface org.openstreetmap.josm.gui.layer.MapViewPaintable
MapViewPaintable.LayerPainter, MapViewPaintable.MapViewEvent, MapViewPaintable.PaintableInvalidationEvent, MapViewPaintable.PaintableInvalidationListener -
Field Summary
Fields inherited from class org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
gpxData, gpxFauxData, gpxFauxLayer, thumbsLoaded, useThumbsFields inherited from class org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
REQUIRES_SAVE_TO_DISK_PROPFields inherited from class org.openstreetmap.josm.gui.layer.Layer
FILTER_STATE_PROP, NAME_PROP, OPACITY_PROP, propertyChangeSupport, VISIBLE_PROP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
addImageChangeListener, applyTmp, attachToMapView, clearSelection, containsImage, create, destroy, discardTmp, drawDirectionArrow, drawDirectionArrow, getChangesetSourceTag, getData, getFauxGpxData, getFauxGpxLayer, getGpxCorrelateAction, getGpxData, getGpxLayer, getImageData, getImageDimension, getImages, getInfoComponent, getInvalidGeoImages, getMenuEntries, getPhotoUnderMouse, getSelection, getSortedImgList, getToolTipText, hookUpMapView, imageDataUpdated, isMergable, isModified, isUseThumbs, jumpToNextMarker, jumpToPreviousMarker, mergeFrom, paint, registerMenuAddition, registerSupportedMapMode, removeImageChangeListener, selectedImageChanged, setUseThumbs, showCurrentPhoto, startLoadThumbs, stopLoadThumbs, thumbsLoaded, updateBufferAndRepaint, visitBoundingBox, zoomChangedMethods inherited from class org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
autosave, createUploadTask, getUploadDialog, isDirty, isDownloadable, isLocked, isUploadable, isUploadDiscouraged, isUploadInProgress, lock, onPostSaveToFile, onPostUploadToServer, requiresSaveToFile, requiresUploadToServer, unlockMethods inherited from class org.openstreetmap.josm.gui.layer.Layer
addPropertyChangeListener, checkSaveConditions, createAndOpenSaveFileChooser, fireFilterStateChanged, fireOpacityChanged, fireVisibleChanged, getAssociatedFile, getColor, getDefaultLayerPosition, getLabel, getName, getOpacity, getViewProjectionBounds, hasColor, isBackgroundLayer, isInfoResizable, isProjectionSupported, isRenamed, isSavable, isVisible, nameSupportedProjections, onPostLoadFromFile, projectionChanged, removePropertyChangeListener, rename, setAssociatedFile, setBackgroundLayer, setColor, setFilterStateChanged, setName, setOpacity, setVisible, toggleVisible, toStringMethods inherited from class org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
addInvalidationListener, createMapViewPainter, invalidate, removeInvalidationListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.gui.layer.SaveToFile
isSavable
-
Constructor Details
-
WikimediaCommonsLayer
WikimediaCommonsLayer(List<ImageEntry> imageEntries)
-
-
Method Details
-
getIcon
Description copied from class:LayerReturn a representative small image for this layer. The image must not be larger than 64 pixel in any dimension.- Overrides:
getIconin classGeoImageLayer- Returns:
- layer icon
-