Skip to content

Commit df7ca4b

Browse files
authored
Merge pull request #7860 from plotly/cam/7174/remove-mapbox
chore: Remove deprecated Mapbox traces
2 parents b77a6f4 + 61cbad1 commit df7ca4b

112 files changed

Lines changed: 19593 additions & 29080 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ jobs:
269269
- name: Run noCI tests
270270
uses: ./.github/actions/run-xvfb
271271
with:
272-
run: ./tasks/noci_test.sh jasmine
272+
run: npm run test-jasmine -- --tags=noCI,noCIdep --nowatch
273273

274274
# ============================================================
275275
# Image baseline generation and comparison

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Other methods used by some trace modules:
432432
selections.
433433
- `_module.convert`: Sometimes separated from `_module.plot` or `_module.calc` to convert the
434434
plotly.js settings to another framework e.g. to `gl-plot3d` for `gl3d` traces, to
435-
`mapbox-gl` for `mapbox` traces. This split can make the logic easier to test.
435+
`maplibre-gl` for `map` traces. This split can make the logic easier to test.
436436
If you make a `convert`, you should call it from either `calc` or `plot`.
437437

438438
## Coding style

devtools/test_dashboard/devtools.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
var Fuse = require('fuse.js/dist/fuse.common.js');
66
var mocks = require('../../build/test_dashboard_mocks.json');
7-
var credentials = require('../../build/credentials.json');
87
var Lib = require('../../src/lib');
98

109
require('./perf');
@@ -18,9 +17,6 @@ var Tabs = {
1817

1918
// use local topojson files
2019
topojsonURL: "../../topojson/dist",
21-
// register mapbox access token
22-
// run `npm run preset` if you haven't yet
23-
mapboxAccessToken: credentials.MAPBOX_ACCESS_TOKEN,
2420

2521
// show all logs in console
2622
logging: 2

draftlogs/7860_remove.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Remove `scattermapbox`, `choroplethmapbox`, `densitymapbox` trace types, the `mapbox` subplot, and the `mapboxAccessToken` config option [[#7860](https://github.com/plotly/plotly.js/pull/7860)]

lib/choroplethmapbox.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/densitymapbox.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/index-mapbox.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

lib/index-strict.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ Plotly.register([
3434
require('../src/traces/splom/strict'),
3535
require('../src/traces/parcoords/strict'),
3636
require('./parcats'),
37-
require('./scattermapbox'),
38-
require('./choroplethmapbox'),
39-
require('./densitymapbox'),
4037
require('./scattermap'),
4138
require('./choroplethmap'),
4239
require('./densitymap'),

lib/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ export type {
5353
AxisName,
5454
ButtonClickEvent,
5555
Icon,
56-
Mapbox,
5756
ModeBarButton,
5857
ModeBarButtonAny,
5958
ModeBarDefaultButtons,

lib/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ Plotly.register([
3434
require('./splom'),
3535
require('./parcoords'),
3636
require('./parcats'),
37-
require('./scattermapbox'),
38-
require('./choroplethmapbox'),
39-
require('./densitymapbox'),
4037
require('./scattermap'),
4138
require('./choroplethmap'),
4239
require('./densitymap'),

0 commit comments

Comments
 (0)