maps.nyc.gov

Class: PatternFill

nyc.ol.style.PatternFill(options)

new PatternFill(options)

A class that provides a pattern fill style
Parameters:
Name Type Description
options nyc.ol.style.PatternFill.Options Constructor options
Source:
Fires:
  • nyc.ol.style.PatternFill#event:ready

Extends

  • ol.style.Fill

Members

(static) Pattern :string

Enumeration for pattern fill image data URIs
Type:
  • string
Properties:
Name Type Description
DOT1 string
DOT2 string
DOT3 string
DOT4 string
DOT5 string
DOT6 string
DOT7 string
DOT8 string
DOT9 string
DOT10 string
DOT11 string
DOT12 string
DOT13 string
DOT14 string
LINE1 string
LINE2 string
LINE3 string
LINE4 string
LINE5 string
LINE6 string
LINE7 string
LINE8 string
Source:

Type Definitions

Options

Object type to hold constructor options for nyc.ol.style.PatternFill
Type:
  • Object
Properties:
Name Type Description
image string | Element | JQuery The image URL, data URI, selector or element to use for the pattern
opacity number An opacity value for the fill pattern
Source:

nyc-lib: Class: PatternFill

maps.nyc.gov

Class: PatternFill

nyc.ol.style.PatternFill(options)

new PatternFill(options)

A class that provides a pattern fill style
Parameters:
Name Type Description
options nyc.ol.style.PatternFill.Options Constructor options
Source:
Fires:
  • nyc.ol.style.PatternFill#event:ready

Extends

  • ol.style.Fill

Members

(static) Pattern :string

Enumeration for pattern fill image data URIs
Type:
  • string
Properties:
Name Type Description
DOT1 string
DOT2 string
DOT3 string
DOT4 string
DOT5 string
DOT6 string
DOT7 string
DOT8 string
DOT9 string
DOT10 string
DOT11 string
DOT12 string
DOT13 string
DOT14 string
LINE1 string
LINE2 string
LINE3 string
LINE4 string
LINE5 string
LINE6 string
LINE7 string
LINE8 string
Source:

Type Definitions

Options

Object type to hold constructor options for nyc.ol.style.PatternFill
Type:
  • Object
Properties:
Name Type Description
image string | Element | JQuery The image URL, data URI, selector or element to use for the pattern
opacity number An opacity value for the fill pattern
Source: