Search in sources :

Example 1 with LayerRendererOverlay

use of com.revolsys.swing.map.overlay.LayerRendererOverlay in project com.revolsys.open by revolsys.

the class SelectRecordsOverlay method unSelectRecords.

public void unSelectRecords(final BoundingBox boundingBox) {
    final LayerGroup project = getProject();
    unSelectRecords(project, boundingBox);
    final LayerRendererOverlay overlay = getMap().getLayerOverlay();
    overlay.redraw();
}
Also used : LayerGroup(com.revolsys.swing.map.layer.LayerGroup) LayerRendererOverlay(com.revolsys.swing.map.overlay.LayerRendererOverlay)

Example 2 with LayerRendererOverlay

use of com.revolsys.swing.map.overlay.LayerRendererOverlay in project com.revolsys.open by revolsys.

the class SelectRecordsOverlay method addSelectedRecords.

public void addSelectedRecords(final BoundingBox boundingBox) {
    final LayerGroup project = getProject();
    addSelectedRecords(project, boundingBox);
    final LayerRendererOverlay overlay = getMap().getLayerOverlay();
    overlay.redraw();
}
Also used : LayerGroup(com.revolsys.swing.map.layer.LayerGroup) LayerRendererOverlay(com.revolsys.swing.map.overlay.LayerRendererOverlay)

Example 3 with LayerRendererOverlay

use of com.revolsys.swing.map.overlay.LayerRendererOverlay in project com.revolsys.open by revolsys.

the class SelectRecordsOverlay method selectRecords.

public void selectRecords(final BoundingBox boundingBox) {
    try (BaseCloseable closeable = this.selectingRecords.closeable(true)) {
        final LayerGroup project = getProject();
        selectRecords(project, boundingBox);
        final LayerRendererOverlay overlay = getMap().getLayerOverlay();
        overlay.redraw();
        redrawAndRepaint();
    }
}
Also used : BaseCloseable(com.revolsys.io.BaseCloseable) LayerGroup(com.revolsys.swing.map.layer.LayerGroup) LayerRendererOverlay(com.revolsys.swing.map.overlay.LayerRendererOverlay)

Aggregations

LayerGroup (com.revolsys.swing.map.layer.LayerGroup)3 LayerRendererOverlay (com.revolsys.swing.map.overlay.LayerRendererOverlay)3 BaseCloseable (com.revolsys.io.BaseCloseable)1