IGeoLayer
Home > @gooddata/sdk-ui-geo > IGeoLayer
IGeoLayer type
Union type for all layer configurations.
Signature:
export type IGeoLayer = IGeoLayerPushpin | IGeoLayerArea;
References: IGeoLayerPushpin, IGeoLayerArea
Remarks
Use this type when working with layers that could be either pushpin or area type. Use the isGeoLayerPushpin() and isGeoLayerArea() type guards to narrow the type in conditional logic.