API / geotoolkit / attributes / PatternFactory / PatternFactory
attributes.PatternFactory.PatternFactory
Type Aliases
Type Aliases
Ƭ AddPatternOptions: Omit<CreatePatternOptions, "url"> & { category?: string ; containername?: string ; name: string }
pattern options or pattern name.
Ƭ CreatePatternOptions: Object
pattern object, image url, image from DOM element or the image patterns options
| Name | Type | Description |
|---|---|---|
desiredheight? | number | desired image height |
desiredwidth? | number | desired image width |
scalable? | boolean | Flag that sets scalability of the pattern |
url? | string | or url of the image to load |
userhandle? | Function | additional info associated with current image pattern Deprecated since 4.0. Not used anymore. |
Ƭ Options: Object
PatternFactory options
| Name | Type | Description |
|---|---|---|
timeout | number | Timeout for loading pattern |