@carto/kepler.gl 0.0.76 → 0.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,7 +124,6 @@ export default function ModalContainerFactory(
124
124
  rootNode: PropTypes.object,
125
125
  containerW: PropTypes.number,
126
126
  containerH: PropTypes.number,
127
- mapboxApiAccessToken: PropTypes.string.isRequired,
128
127
  mapboxApiUrl: PropTypes.string,
129
128
  mapState: PropTypes.object.isRequired,
130
129
  mapStyle: PropTypes.object.isRequired,
@@ -426,7 +425,6 @@ export default function ModalContainerFactory(
426
425
  case ADD_MAP_STYLE_ID:
427
426
  template = (
428
427
  <AddMapStyleModal
429
- mapboxApiAccessToken={this.props.mapboxApiAccessToken}
430
428
  mapboxApiUrl={this.props.mapboxApiUrl}
431
429
  mapState={this.props.mapState}
432
430
  inputStyle={mapStyle.inputStyle}
@@ -110,7 +110,6 @@ function AddMapStyleModalFactory() {
110
110
  inputMapStyle: PropTypes.func.isRequired,
111
111
  inputStyle: PropTypes.object.isRequired,
112
112
  loadCustomMapStyle: PropTypes.func.isRequired,
113
- mapboxApiAccessToken: PropTypes.string.isRequired,
114
113
  mapboxApiUrl: PropTypes.string.isRequired,
115
114
  mapState: PropTypes.object.isRequired
116
115
  };
@@ -166,11 +165,9 @@ function AddMapStyleModalFactory() {
166
165
  render() {
167
166
  const {inputStyle, mapState, mapboxApiUrl, intl} = this.props;
168
167
 
169
- const mapboxApiAccessToken = inputStyle.accessToken || this.props.mapboxApiAccessToken;
170
168
  const mapProps = {
171
169
  ...mapState,
172
170
  mapboxApiUrl,
173
- mapboxApiAccessToken,
174
171
  preserveDrawingBuffer: true,
175
172
  transformRequest
176
173
  };
@@ -18,17 +18,15 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
- import {setParameters} from '@luma.gl/core';
22
21
  import {LAYER_BLENDINGS} from 'constants/default-settings';
23
- import GL from '@luma.gl/constants';
22
+ import {GL} from '@luma.gl/constants';
24
23
 
25
24
  const getGlConst = d => GL[d];
26
25
 
27
26
  export function setLayerBlending(gl, layerBlending) {
28
27
  const blending = LAYER_BLENDINGS[layerBlending];
29
28
  const {blendFunc, blendEquation} = blending;
30
-
31
- setParameters(gl, {
29
+ gl.device.setParametersWebGL({
32
30
  [GL.BLEND]: true,
33
31
  ...(blendFunc
34
32
  ? {