Open jseppi opened 3 years ago
On this line in _getAttribution: https://github.com/mapbox/mapbox.js/blob/1db88e7bf25b2bd2cd940a264b557cf4a41c43d8/src/style_layer.js#L33
_getAttribution
Each source url has .split() called on it. If a source without a url property (such as a geojson source) is present in the style, this line will cause an uncaught error.
url
.split()
Potentially the same issue as https://github.com/mapbox/mapbox.js/issues/1295
On this line in
_getAttribution
: https://github.com/mapbox/mapbox.js/blob/1db88e7bf25b2bd2cd940a264b557cf4a41c43d8/src/style_layer.js#L33Each source
url
has.split()
called on it. If a source without aurl
property (such as a geojson source) is present in the style, this line will cause an uncaught error.