You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

plotly.graph_objs.layout.mapbox.layer Module

Functions

plotly.graph_objs.layout.mapbox.layer.Circle([radius=]) → Circle

Create a new ‘Circle’ object

  • radius - Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.


plotly.graph_objs.layout.mapbox.layer.Fill([outlinecolor=]) → Fill

Create a new ‘Fill’ object

  • outlinecolor - Sets the fill outline color (mapbox.layer.paint.fill-outline-color). Has an effect only when `type` is set to *fill*.


plotly.graph_objs.layout.mapbox.layer.Line([dash=], [dashsrc=], [width=]) → Line

Create a new ‘Line’ object

  • dash - Sets the length of dashes and gaps (mapbox.layer.paint.line-dasharray). Has an effect only when `type` is set to *line*.

  • dashsrc - Sets the source reference on Chart Studio Cloud for `dash`.

  • width - Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to *line*.


plotly.graph_objs.layout.mapbox.layer.Symbol([icon=], [iconsize=], [placement=], [text=], [textfont=], [textposition=]) → Symbol

Create a new ‘Symbol’ object

  • icon - Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/

  • iconsize - Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*.

  • placement - Sets the symbol and/or text placement (mapbox.layer.layout.symbol-placement). If `placement` is *point*, the label is placed where the geometry is located If `placement` is *line*, the label is placed along the line of the geometry If `placement` is *line-center*, the label is placed on the center of the geometry

  • text - Sets the symbol text (mapbox.layer.layout.text-field).

  • textfont - Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*.

  • textposition - Sets the positions of the `text` elements with respects to the (x,y) coordinates.


Globals



Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.


plotly.graph_objs.layout.mapbox.layer