Skip to content

Commit

Permalink
improve mapbox.layers[i] sourcetype and type attr descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Jul 22, 2019
1 parent b933528 commit d81f28c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plots/mapbox/layout_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(' ')
},

Expand Down Expand Up @@ -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.',
Expand Down

0 comments on commit d81f28c

Please sign in to comment.