Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at contact@anvil.works.

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([width=], [dash=], [dashsrc=]) → Line

Create a new ‘Line’ object

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

  • 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 .


plotly.graph_objs.layout.mapbox.layer.Symbol([icon=], [iconsize=], [text=], [placement=], [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*.

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

  • 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

  • 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



plotly.graph_objs.layout.mapbox.layer