Class: Mapbox

Mapbox

Main constructor of the class. Creates a Mapbox layer
with parameters specified by the user


new Mapbox(userParameters, options)

Parameters:
Name Type Description
userParameters string | Mx.parameters.WMS

parameters

options Mx.parameters.LayerOptions

provided by the user

Source:

Extends

Members


<inner> impl :M.layer.WMS

Implementation of this layer

Type:
Source:

Methods


equals()

This function checks if an object is equals
to this layer

Source:

fire()

Sets the callback when the instace is loaded

Inherited From:
Source:

getImpl()

This function provides the implementation
of the object

Inherited From:
Source:
Returns:
Type
Object

getLegendURL()

This function checks if an object is equals
to this layer

Inherited From:
Source:

getOpacity()

This function gets the opacity of this layer

Inherited From:
Source:

getZIndex()

This function gets the z-index of this layer

Inherited From:
Source:

inRange()

This function indicates if the layer is in range

Inherited From:
Source:

isQueryable()

This function indicates if the layer is visible

Inherited From:
Source:

isVisible()

This function indicates if the layer is visible

Inherited From:
Source:

on()

Sets the callback when the instace is loaded

Inherited From:
Source:

once()

Sets the callback when the instace is loaded

Inherited From:
Source:

refresh()

This function refreshes the state of this
layer

Inherited From:
Source:

setImpl(impl)

This function set implementation of this control

Parameters:
Name Type Description
impl M.Map

to add the plugin

Inherited From:
Source:

setLegendURL()

This function checks if an object is equals
to this layer

Inherited From:
Source:

setOpacity()

This function sets the opacity of this layer

Inherited From:
Source:

setVisible()

This function sets the visibility of this layer

Inherited From:
Source:

setZIndex()

This function sets the z-index for this layer

Inherited From:
Source:

un()

Sets the callback when the instace is loaded

Inherited From:
Source: