Interface IGeoImageLayer
-
- All Known Implementing Classes:
GeoImageLayer
,MarkerLayer
,WikimediaCommonsLayer
public interface IGeoImageLayer
An interface for layers which want to show images- Since:
- 18613
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IGeoImageLayer.ImageChangeListener
Listen for image changes
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addImageChangeListener(IGeoImageLayer.ImageChangeListener listener)
Add a listener for when images changevoid
clearSelection()
Clear the selection of the layerboolean
containsImage(IImageEntry<?> imageEntry)
Check if the layer contains the specified imagedefault java.util.List<IImageEntry<?>>
getInvalidGeoImages()
Get the invalid geo images for this layer (specifically, those that cannot be displayed on the map)java.util.List<? extends IImageEntry<?>>
getSelection()
Get the current selectionvoid
removeImageChangeListener(IGeoImageLayer.ImageChangeListener listener)
Remove a listener for when images change
-
-
-
Method Detail
-
clearSelection
void clearSelection()
Clear the selection of the layer
-
getSelection
java.util.List<? extends IImageEntry<?>> getSelection()
Get the current selection- Returns:
- The currently selected images
-
getInvalidGeoImages
default java.util.List<IImageEntry<?>> getInvalidGeoImages()
Get the invalid geo images for this layer (specifically, those that cannot be displayed on the map)- Returns:
- The list of invalid geo images
-
containsImage
boolean containsImage(IImageEntry<?> imageEntry)
Check if the layer contains the specified image- Parameters:
imageEntry
- The entry to look for- Returns:
true
if this layer contains the image
-
addImageChangeListener
void addImageChangeListener(IGeoImageLayer.ImageChangeListener listener)
Add a listener for when images change- Parameters:
listener
- The listener to call
-
removeImageChangeListener
void removeImageChangeListener(IGeoImageLayer.ImageChangeListener listener)
Remove a listener for when images change- Parameters:
listener
- The listener to remove
-
-