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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceListen for image changes -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener for when images changevoidClear the selection of the layerbooleancontainsImage(IImageEntry<?> imageEntry) Check if the layer contains the specified imagedefault List<IImageEntry<?>>Get the invalid geo images for this layer (specifically, those that cannot be displayed on the map)List<? extends IImageEntry<?>>Get the current selectionvoidRemove a listener for when images change
-
Method Details
-
clearSelection
void clearSelection()Clear the selection of the layer -
getSelection
List<? extends IImageEntry<?>> getSelection()Get the current selection- Returns:
- The currently selected images
-
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
Check if the layer contains the specified image- Parameters:
imageEntry- The entry to look for- Returns:
trueif this layer contains the image
-
addImageChangeListener
Add a listener for when images change- Parameters:
listener- The listener to call
-
removeImageChangeListener
Remove a listener for when images change- Parameters:
listener- The listener to remove
-