Mixin: FEATURE_DECORATIONS

nyc/ol/MapMgr~MapMgr. FEATURE_DECORATIONS

Default facility feature decorations

Source:

Methods


<static> addressHtml()

Returns the full address of a facility feature as jQuery

Source:
Returns:

The full address of a facility feature as jQuery

Type
jQuery

<static> cssClass()

Returns a CSS class for the rendered facility feature

Source:

<static> detailsCollapsible()

Returns collapsible details for the facility features as jQuery

Source:
Returns:

The collapsible details as jQuery

Type
jQuery

<static> detailsHtml()

Returns additional details for the facility feature

Source:

<static> directionsButton()

Returns a button as jQuery that when clicked will provide directions to the facility

Source:
Returns:

The directions button as jQuery

Type
jQuery

<static> distanceHtml(screenReaderOnly)

Returns the distance from the user location to the facility as jQuery

Parameters:
Name Type Description
screenReaderOnly boolean

Return distance for screen readers

Source:
Returns:

The distance from the user location to the facility as jQuery

Type
jQuery

<static> emailButton()

Returns a button as jQuery that when clicked will open email editor for the provided email

Source:
Returns:

The email button as jQuery

Type
jQuery

<static> getAddress1()

Returns the address line 1 of a facility feature

Source:

<static> getAddress2()

Returns the address line 2 of a facility feature

Source:
Returns:

The address line 2

Type
string

<static> getCityStateZip()

Returns the city, state zip line of a facility feature

Source:

<static> getEmail()

Returns the email for a facility feature

Source:

<static> getFullAddress()

Returns full address for use with Google directions API

Source:
Returns:

The full address

Type
string

<static> getName()

Returns the name of a facility feature

Source:

<static> getPhone()

Returns the phone number for a facility feature

Source:

<static> getTip()

Returns the feature tip value

Source:
Returns:

Tip text

Type
string

<static> getWebsite()

Returns the website URL for a facility feature

Source:

<static> handleButton(event)

Handles map and direction button click

Parameters:
Name Type Description
event jQuery.Event

Event object

Source:

<static> handleOut(event)

Handles mouse out a feature's HTML

Parameters:
Name Type Description
event jQuery.Event

Event object

Source:

<static> handleOver(event)

Handles mouse over a feature's HTML

Parameters:
Name Type Description
event jQuery.Event

Event object

Source:

<static> html()

Returns a facility feature rendered as a jQuery

Source:
Returns:

The rendered feature

Type
jQuery

<static> mapButton()

Returns a button as jQuery that when clicked will zoom to the facility

Source:
Returns:

The map button as jQuery

Type
jQuery

<static> nameHtml()

Returns the name of a facility feature as jQuery

Source:
Returns:

The name of a facility feature as jQuery

Type
jQuery

<static> phoneButton()

Returns a button as jQuery that when clicked will call the provided phone number

Source:
Returns:

The phone button as jQuery

Type
jQuery

<static> websiteButton()

Returns a button as jQuery that when clicked will open the facility web site

Source:
Returns:

The website button as jQuery

Type
jQuery