Skip to content

Commit

Permalink
chore: Fix collision test app (#9168)
Browse files Browse the repository at this point in the history
* chore: Fix collision test app

* Lint
  • Loading branch information
felixpalmer authored Sep 23, 2024
1 parent 0dfd998 commit 03145fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/apps/collision/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {GeoJsonLayer, SolidPolygonLayer, TextLayer} from '@deck.gl/layers';
import {CollisionFilterExtension, MaskExtension} from '@deck.gl/extensions';
import {VectorTileLayer, vectorTableSource} from '@deck.gl/carto';

const accessToken = 'XXX';
const accessToken =
'eyJhbGciOiJIUzI1NiJ9.eyJhIjoiYWNfbHFlM3p3Z3UiLCJqdGkiOiJkOTU4OWMyZiJ9.78MdzU2J6y-J6Far71_Mh7IQO9eYIZD9nECUiZJAVL4';
const MAP_STYLE = 'https://basemaps.cartocdn.com/gl/voyager-nolabels-gl-style/style.json';
const AIR_PORTS =
'https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_10m_airports.geojson';
Expand All @@ -19,8 +20,8 @@ const US_STATES =

const cartoData = vectorTableSource({
accessToken,
connectionName: 'bigquery',
tableName: 'cartobq.public_account.populated_places'
connectionName: 'carto_dw',
tableName: 'carto-demo-data.demo_tables.populated_places'
});

/* eslint-disable react/no-deprecated */
Expand Down
1 change: 1 addition & 0 deletions test/apps/collision/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"dependencies": {
"deck.gl": "^8.6.0-alpha.0",
"maplibre-gl": "^3.0.0",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"react-map-gl": "^7.1.0"
Expand Down

0 comments on commit 03145fb

Please sign in to comment.