OpenLayersUtils: { fromOLColor: ((input) => { color: Color; opacity: number; }); fromOLExtent: ((extent,
projectionCode) => Extent); getFeatureExtent: ((feature,
crs) => Extent | undefined); toOLExtent: ((extent,
margin?) => OLExtent); } Type declaration
fromOLColor: ((input) => {
color: Color;
opacity: number;
})
- (input): {
color: Color;
opacity: number;
} Returns {
color: Color;
opacity: number;
}
color: Color
opacity: number
fromOLExtent: ((extent, projectionCode) => Extent)
- (extent, projectionCode): Extent
Parameters
- extent: Extent
- projectionCode: string
getFeatureExtent: ((feature, crs) => Extent | undefined)
- (feature, crs): Extent | undefined
Parameters
- feature: Feature<Geometry>
- crs: string
Returns Extent | undefined
toOLExtent: ((extent, margin?) => OLExtent)
- (extent, margin?): OLExtent
Parameters
- extent: Extent
- margin: number = 0
Returns OLExtent