TraceGeo 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

TraceGeo(traceTypeName)

Full Usage: TraceGeo(traceTypeName)

Parameters:
    traceTypeName : string

Returns: TraceGeo
traceTypeName : string
Returns: TraceGeo

Static members

Static member Description

TraceGeo.initChoroplethMap applyStyle

Full Usage: TraceGeo.initChoroplethMap applyStyle

Parameters:
Returns: TraceGeo

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

applyStyle : TraceGeo -> TraceGeo
Returns: TraceGeo

TraceGeo.initScatterGeo applyStyle

Full Usage: TraceGeo.initScatterGeo applyStyle

Parameters:
Returns: TraceGeo

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

applyStyle : TraceGeo -> TraceGeo
Returns: TraceGeo