Search in sources :

Example 1 with ArrayLayerRecord

use of com.revolsys.swing.map.layer.record.ArrayLayerRecord in project com.revolsys.open by revolsys.

the class OsmProxyLayerRecord method getRecordProxied.

@Override
protected LayerRecord getRecordProxied() {
    final Identifier identifier = getIdentifier();
    final OsmElement record = this.document.getRecord(identifier);
    final AbstractRecordLayer layer = getLayer();
    return new ArrayLayerRecord(layer, record);
}
Also used : OsmElement(com.revolsys.record.io.format.openstreetmap.model.OsmElement) ArrayLayerRecord(com.revolsys.swing.map.layer.record.ArrayLayerRecord) Identifier(com.revolsys.identifier.Identifier) AbstractRecordLayer(com.revolsys.swing.map.layer.record.AbstractRecordLayer)

Aggregations

Identifier (com.revolsys.identifier.Identifier)1 OsmElement (com.revolsys.record.io.format.openstreetmap.model.OsmElement)1 AbstractRecordLayer (com.revolsys.swing.map.layer.record.AbstractRecordLayer)1 ArrayLayerRecord (com.revolsys.swing.map.layer.record.ArrayLayerRecord)1