![]() ![]() ![]() Sets the symbol and/or text placement (-placement). Type: enumerated, one of ( 'point' | 'line' | 'line-center' ) Has an effect only when `type` is set to 'symbol'. Sets the source type for this layer, that is the type of the layer data. Type: enumerated, one of ( 'geojson' | 'vector' | 'raster' | 'image' ) ![]() Required for 'vector' source type that supports multiple layers. Specifies the layer to use from a vector tile source (-layer). When `sourcetype` is set to 'image', `source` can be a URL to an image. When `sourcetype` is set to 'vector' or 'raster', `source` can be a URL or an array of tile URLs. When `sourcetype` is set to 'geojson', `source` can be a URL to a GeoJSON or a GeoJSON object. If `type` is 'circle', opacity corresponds to the circle opacity (-opacity) If `type` is 'line', opacity corresponds to the line opacity (-opacity) If `type` is 'fill', opacity corresponds to the fill opacity (-opacity) If `type` is 'symbol', opacity corresponds to the icon/text opacity (-opacity) You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: false` or `enabled: false` to hide it). When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. At zoom levels less than the minzoom, the layer will be hidden. At zoom levels equal to or greater than the maxzoom, the layer will be hidden. Type: number between or equal to 0 and 24 Has an effect only when `type` is set to 'line'. Sets the length of dashes and gaps (-dasharray). Has an effect only when `type` is set to 'fill'. Sets the fill outline color (-outline-color). Only has an effect for 'image' `sourcetype`. Sets the coordinates array contains pairs for the image corners listed in clockwise order: top left, top right, bottom right, bottom left. Type: number or categorical coordinate string If `type` is 'circle', color corresponds to the circle color (-color) If `type` is 'line', color corresponds to the line color (-color) If `type` is 'fill', color corresponds to the fill color (-color) If `type` is 'symbol', color corresponds to the icon color (-color) Has an effect only when `type` is set to 'circle'. If omitted or set to '', the layer will be inserted above every existing layer. Type: cell array of struct where each struct has one or more of the keys listed below.ĭetermines if the layer will be inserted before the layer with the specified ID. Sets the vertical domain of this mapbox subplot (in plot fraction). Sets the horizontal domain of this mapbox subplot (in plot fraction). If there is a layout grid, use the domain for this row in the grid for this mapbox subplot. If there is a layout grid, use the domain for this column in the grid for this mapbox subplot. Sets the longitude of the center of the map (in degrees East). Sets the latitude of the center of the map (in degrees North). Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing). Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Sets the mapbox access token to be used for this mapbox map. Type: struct containing one or more of the keys listed below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |