plotly.graph_objs.layout.map.layer Module
Functions
plotly.graph_objs.layout.map.layer.Circle([radius=]) → Circle
Create a new ‘Circle’ object
radius- Sets the circle radius (map.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.
plotly.graph_objs.layout.map.layer.Fill([outlinecolor=]) → Fill
Create a new ‘Fill’ object
outlinecolor- Sets the fill outline color (map.layer.paint.fill-outline-color). Has an effect only when `type` is set to *fill*.
plotly.graph_objs.layout.map.layer.Line([dash=], [dashsrc=], [width=]) → Line
Create a new ‘Line’ object
dash- Sets the length of dashes and gaps (map.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 (map.layer.paint.line-width). Has an effect only when `type` is set to *line*.
plotly.graph_objs.layout.map.layer.Symbol([icon=], [iconsize=], [placement=], [text=], [textfont=], [textposition=]) → Symbol
Create a new ‘Symbol’ object
icon- Sets the symbol icon image (map.layer.layout.icon-image). Full list: https://www.map.com/maki-icons/iconsize- Sets the symbol icon size (map.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*.placement- Sets the symbol and/or text placement (map.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 geometrytext- Sets the symbol text (map.layer.layout.text-field).textfont- Sets the icon text font (color=map.layer.paint.text-color, size=map.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.