This commit is contained in:
Nick
2017-10-23 16:41:51 -07:00
parent 87b8f19f4d
commit cd3d89eacf
4 changed files with 4 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
/* eslint react/prop-types: 0 */
import React from 'react';
class AbstractLayer extends React.Component {
+1 -1
View File
@@ -76,7 +76,7 @@ class ShapeSource extends React.Component {
id: MapboxGL.StyleSource.DefaultSourceID,
};
_getShape() {
_getShape () {
if (!this.props.shape) {
return;
}
+2 -2
View File
@@ -23,7 +23,7 @@ class MapStyleTransitionItem extends MapStyleItem {
duration: duration,
delay: delay,
},
...extras
...extras,
});
}
}
@@ -32,7 +32,7 @@ class MapStyleTranslationItem extends MapStyleItem {
constructor (x, y, extras = {}) {
super(StyleTypes.Translation, {
value: [x, y],
...extras
...extras,
});
}
}