TraceMapbox Type

The following trace types support attributes named geo or mapbox, whose values must refer to corresponding objects in the layout i.e. geo="geo2" etc. Note that attributes such as layout.geo2 and layout.mapbox etc do not have to be explicitly defined, in which case default values will be inferred. Multiple traces of a compatible type can be placed on the same subplot. The following trace types are compatible with geo subplots via the geo attribute: - scattergeo, which can be used to draw individual markers, line and curves and filled areas on outline maps - choropleth: colored polygons on outline maps The following trace types are compatible with mapbox subplots via the mapbox attribute: - scattermapbox, which can be used to draw individual markers, lines and curves and filled areas on tile maps - choroplethmapbox: colored polygons on tile maps - densitymapbox: density heatmaps on tile maps

Constructors

Constructor Description

TraceMapbox(traceTypeName)

Full Usage: TraceMapbox(traceTypeName)

Parameters:
    traceTypeName : string

Returns: TraceMapbox
traceTypeName : string
Returns: TraceMapbox

Static members

Static member Description

TraceMapbox.initChoroplethMapbox applyStyle

Full Usage: TraceMapbox.initChoroplethMapbox applyStyle

Parameters:
Returns: TraceMapbox

initializes a trace of type "choroplethmapbox" applying the given trace styling function

applyStyle : TraceMapbox -> TraceMapbox
Returns: TraceMapbox

TraceMapbox.initDensityMapbox applyStyle

Full Usage: TraceMapbox.initDensityMapbox applyStyle

Parameters:
Returns: TraceMapbox

initializes a trace of type "densitymapbox" applying the given trace styling function

applyStyle : TraceMapbox -> TraceMapbox
Returns: TraceMapbox

TraceMapbox.initScatterMapbox applyStyle

Full Usage: TraceMapbox.initScatterMapbox applyStyle

Parameters:
Returns: TraceMapbox

initializes a trace of type "scattermapbox" applying the given trace styling function

applyStyle : TraceMapbox -> TraceMapbox
Returns: TraceMapbox