MapboxBounds Type

Constructors

Constructor Description

MapboxBounds()

Full Usage: MapboxBounds()

Returns: MapboxBounds
Returns: MapboxBounds

Static members

Static member Description

MapboxBounds.init (?East, ?North, ?South, ?West)

Full Usage: MapboxBounds.init (?East, ?North, ?South, ?West)

Parameters:
    ?East : float - Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.
    ?North : float - Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.
    ?South : float - Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.
    ?West : float - Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

Returns: MapboxBounds

Returns a new MapboxBounds object with the given styles

?East : float

Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.

?North : float

Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.

?South : float

Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

?West : float

Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

Returns: MapboxBounds

MapboxBounds.style (?East, ?North, ?South, ?West)

Full Usage: MapboxBounds.style (?East, ?North, ?South, ?West)

Parameters:
    ?East : float - Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.
    ?North : float - Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.
    ?South : float - Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.
    ?West : float - Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

Returns: MapboxBounds -> MapboxBounds

Returns a function that applies the given styles to a MapoxBounds object.

?East : float

Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.

?North : float

Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.

?South : float

Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

?West : float

Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.

Returns: MapboxBounds -> MapboxBounds