@@ -135,9 +135,11 @@ var attrs = module.exports = overrideAll({
135135 role : 'info' ,
136136 description : [
137137 'Sets the source data for this layer (mapbox.layer.source).' ,
138- 'Source can be either a URL,' ,
139- 'a geojson object (with `sourcetype` set to *geojson*)' ,
140- 'or an array of URLs (with `sourcetype` set to *vector* or *raster*).'
138+ 'When `sourcetype` is set to *geojson*, `source` can be a URL to a GeoJSON' ,
139+ 'or a GeoJSON object.' ,
140+ 'When `sourcetype` is set to *vector* or *raster*, `source` can be a URL or' ,
141+ 'an array of tile URLs.' ,
142+ 'When `sourcetype` is set to *image*, `source` can be a URL to an image.'
141143 ] . join ( ' ' )
142144 } ,
143145
@@ -167,11 +169,13 @@ var attrs = module.exports = overrideAll({
167169 description : [
168170 'Sets the layer type,' ,
169171 'that is the how the layer data set in `source` will be rendered' ,
170- 'With `sourcetype` set to *geojson*, *circle*, *line*, *fill* and *symbol* are available' ,
172+ 'With `sourcetype` set to *geojson*, the following values are allowed:' ,
173+ '*circle*, *line*, *fill* and *symbol*.' ,
171174 'but note that *line* and *fill* are not compatible with Point' ,
172175 'GeoJSON geometries.' ,
173- 'With `sourcetype` set to *vector*, *circle*, *line*, *fill* and *symbol* are available.' ,
174- 'With `sourcetype` set to *raster* or `*image*`, only the *raster* value is available.'
176+ 'With `sourcetype` set to *vector*, the following values are allowed:' ,
177+ ' *circle*, *line*, *fill* and *symbol*.' ,
178+ 'With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed.'
175179 ] . join ( ' ' )
176180 } ,
177181
0 commit comments