There was an error while loading. Please reload this page.
1 parent 8f0ba50 commit b7a74aeCopy full SHA for b7a74ae
src/mapboxgl/overlay/MapvLayer.js
@@ -21,7 +21,7 @@ import {
21
*/
22
export class MapvLayer {
23
constructor(map, dataSet, mapVOptions) {
24
- if (map instanceof mapboxgl.Map) {
+ if (arguments.length === 3) {
25
this.map = map;
26
delete mapVOptions['layerID'];
27
this.mapVOptions = mapVOptions;
0 commit comments