We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69836a commit c274befCopy full SHA for c274bef
src/layer/Layer.js
@@ -365,7 +365,7 @@ class Layer extends JSONAble(Eventable(Renderable(Class))) {
365
*/
366
setMask(mask) {
367
if (!((mask.type === 'Point' && mask._isVectorMarker()) || mask.type === 'Polygon')) {
368
- throw new Error('Mask for a layer must be a marker with vector marker symbol, a Polygon or a MultiPolygon.');
+ throw new Error('Mask for a layer must be a marker with vector marker symbol or a Polygon.');
369
}
370
371
if (mask.type === 'Point') {
0 commit comments