Selection

ol-ishare/logger~ Selection

new Selection(profile, layer, uniqueId, uniqueField, feature)

Create and return an Selection object

Parameters:
Name Type Description
profile String

The name of the iShare profile from which the layer originates

layer String

The name of the layer from which the selection was made

uniqueId String

Identifier of selected result

uniqueField String

Name of the field that contains an identifier for the selection

feature Feature

GeoJSON Feature for the selection