From d81f28cf985f5ec912b83d60b0bb0b066665a6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Mon, 22 Jul 2019 15:40:12 -0400 Subject: [PATCH] improve mapbox.layers[i] sourcetype and type attr descriptions --- src/plots/mapbox/layout_attributes.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plots/mapbox/layout_attributes.js b/src/plots/mapbox/layout_attributes.js index 0bebd45f5ad..9e4f20d0bdc 100644 --- a/src/plots/mapbox/layout_attributes.js +++ b/src/plots/mapbox/layout_attributes.js @@ -125,7 +125,8 @@ var attrs = module.exports = overrideAll({ dflt: 'geojson', role: 'info', description: [ - 'Sets the source type for this layer.' + 'Sets the source type for this layer,', + 'that is the type of the layer data.' ].join(' ') }, @@ -164,7 +165,8 @@ var attrs = module.exports = overrideAll({ dflt: 'circle', role: 'info', description: [ - 'Sets the layer type (mapbox.layer.type).', + 'Sets the layer type,', + 'that is the how the layer data set in `source` will be rendered', 'With `sourcetype` set to *geojson*, *circle*, *line*, *fill* and *symbol* are available', 'but note that *line* and *fill* are not compatible with Point', 'GeoJSON geometries.',