mirror of https://github.com/apache/superset.git
fix(deckgl): deckgl unable to load map (#17851)
* fix(deckgl): deckgl unable to load map * add react-map-gl in peerDependencies
This commit is contained in:
parent
9baeafec93
commit
52f5dcb58e
File diff suppressed because it is too large
Load Diff
|
@ -30,7 +30,6 @@
|
|||
"dependencies": {
|
||||
"@superset-ui/chart-controls": "0.18.25",
|
||||
"@superset-ui/core": "0.18.25",
|
||||
"mapbox-gl": "^0.53.0",
|
||||
"prop-types": "^15.6.2",
|
||||
"react-map-gl": "^4.0.10",
|
||||
"supercluster": "^4.1.1",
|
||||
|
|
|
@ -32,12 +32,10 @@
|
|||
"deck.gl": "8.5.2",
|
||||
"jquery": "^3.4.1",
|
||||
"lodash": "^4.17.15",
|
||||
"mapbox-gl": "^2.4.0",
|
||||
"moment": "^2.20.1",
|
||||
"mousetrap": "^1.6.1",
|
||||
"prop-types": "^15.6.0",
|
||||
"react-bootstrap-slider": "2.1.5",
|
||||
"react-map-gl": "^6.1.16",
|
||||
"underscore": "^1.8.3",
|
||||
"urijs": "^1.18.10",
|
||||
"xss": "^1.0.6"
|
||||
|
@ -46,7 +44,8 @@
|
|||
"@superset-ui/chart-controls": "0.x.x",
|
||||
"@superset-ui/core": "0.x.x",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1"
|
||||
"react-dom": "^16.13.1",
|
||||
"react-map-gl": "^4.0.10"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
|
|
@ -25,7 +25,6 @@ import PropTypes from 'prop-types';
|
|||
import { StaticMap } from 'react-map-gl';
|
||||
import DeckGL from 'deck.gl';
|
||||
import { styled } from '@superset-ui/core';
|
||||
// eslint-disable-next-line import/extensions
|
||||
import Tooltip from './components/Tooltip';
|
||||
import 'mapbox-gl/dist/mapbox-gl.css';
|
||||
import './css/deckgl.css';
|
||||
|
|
Loading…
Reference in New Issue