@@ -135,9 +135,11 @@ var attrs = module.exports = overrideAll({
135
135
role : 'info' ,
136
136
description : [
137
137
'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.'
141
143
] . join ( ' ' )
142
144
} ,
143
145
@@ -167,11 +169,13 @@ var attrs = module.exports = overrideAll({
167
169
description : [
168
170
'Sets the layer type,' ,
169
171
'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*.' ,
171
174
'but note that *line* and *fill* are not compatible with Point' ,
172
175
'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.'
175
179
] . join ( ' ' )
176
180
} ,
177
181
0 commit comments