Skip to content

Commit d81f28c

Browse files
committed
improve mapbox.layers[i] sourcetype and type attr descriptions
1 parent b933528 commit d81f28c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/plots/mapbox/layout_attributes.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ var attrs = module.exports = overrideAll({
125125
dflt: 'geojson',
126126
role: 'info',
127127
description: [
128-
'Sets the source type for this layer.'
128+
'Sets the source type for this layer,',
129+
'that is the type of the layer data.'
129130
].join(' ')
130131
},
131132

@@ -164,7 +165,8 @@ var attrs = module.exports = overrideAll({
164165
dflt: 'circle',
165166
role: 'info',
166167
description: [
167-
'Sets the layer type (mapbox.layer.type).',
168+
'Sets the layer type,',
169+
'that is the how the layer data set in `source` will be rendered',
168170
'With `sourcetype` set to *geojson*, *circle*, *line*, *fill* and *symbol* are available',
169171
'but note that *line* and *fill* are not compatible with Point',
170172
'GeoJSON geometries.',

0 commit comments

Comments
 (0)