Skip to content

Commit

Permalink
Move ClipExtension to @deck.gl/extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
zakjan committed May 6, 2021
1 parent 763f62f commit 90b4042
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions modules/extensions/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export {default as DataFilterExtension} from './data-filter/data-filter';
export {default as Fp64Extension} from './fp64/fp64';
export {default as PathStyleExtension} from './path-style/path-style';
export {default as FillStyleExtension} from './fill-style/fill-style';
export {default as ClipExtension} from './clip/clip';

// Shader module
export {default as project64} from './fp64/project64';
1 change: 1 addition & 0 deletions modules/geo-layers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"peerDependencies": {
"@deck.gl/core": "^8.0.0",
"@deck.gl/extensions": "^8.0.0",
"@deck.gl/layers": "^8.0.0",
"@deck.gl/mesh-layers": "^8.0.0",
"@loaders.gl/core": "^3.0.0-alpha"
Expand Down
2 changes: 1 addition & 1 deletion modules/geo-layers/src/mvt-layer/mvt-layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {binaryToGeoJson} from '@loaders.gl/gis';
import {load} from '@loaders.gl/core';
import {COORDINATE_SYSTEM} from '@deck.gl/core';
import {_binaryToFeature, _findIndexBinary} from '@deck.gl/layers';
import {ClipExtension} from '@deck.gl/extensions';

import TileLayer from '../tile-layer/tile-layer';
import {getURLFromTemplate, isURLTemplate} from '../tile-layer/utils';
import ClipExtension from './clip-extension';
import {transform} from './coordinate-transform';

const WORLD_SIZE = 512;
Expand Down
2 changes: 1 addition & 1 deletion test/modules/geo-layers/mvt-layer.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'tape-catch';
import {testLayer} from '@deck.gl/test-utils';
import {MVTLayer} from '@deck.gl/geo-layers';
import ClipExtension from '@deck.gl/geo-layers/mvt-layer/clip-extension';
import {ClipExtension} from '@deck.gl/extensions';
import {transform} from '@deck.gl/geo-layers/mvt-layer/coordinate-transform';
import {GeoJsonLayer} from '@deck.gl/layers';
import {geojsonToBinary} from '@loaders.gl/gis';
Expand Down

0 comments on commit 90b4042

Please sign in to comment.