diff --git a/examples/react/covid/demo/covid_animate.tsx b/examples/react/covid/demo/covid_animate.tsx index 0b506312c1..117c573fc7 100644 --- a/examples/react/covid/demo/covid_animate.tsx +++ b/examples/react/covid/demo/covid_animate.tsx @@ -79,7 +79,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), ]); const worldData = joinData(geoData, ncovData.results); diff --git a/examples/react/covid/demo/covid_bubble.tsx b/examples/react/covid/demo/covid_bubble.tsx index c00f0eef1d..1fb96f7b25 100644 --- a/examples/react/covid/demo/covid_bubble.tsx +++ b/examples/react/covid/demo/covid_bubble.tsx @@ -88,7 +88,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), ]); const worldData = joinData(geoData, ncovData.results); diff --git a/examples/react/covid/demo/covid_column.tsx b/examples/react/covid/demo/covid_column.tsx index 7383e0db4c..4809109ed6 100644 --- a/examples/react/covid/demo/covid_column.tsx +++ b/examples/react/covid/demo/covid_column.tsx @@ -73,7 +73,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), ]); const worldData = joinData(geoData, ncovData.results); diff --git a/examples/react/covid/demo/covid_extrude.tsx b/examples/react/covid/demo/covid_extrude.tsx index b7e5c0d33a..eec51eb6be 100644 --- a/examples/react/covid/demo/covid_extrude.tsx +++ b/examples/react/covid/demo/covid_extrude.tsx @@ -72,7 +72,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), ]); setData(joinData(geoData, ncovData.results)); diff --git a/examples/react/covid/demo/covid_fill.tsx b/examples/react/covid/demo/covid_fill.tsx index 5c78f5cbf9..55ea125437 100644 --- a/examples/react/covid/demo/covid_fill.tsx +++ b/examples/react/covid/demo/covid_fill.tsx @@ -73,7 +73,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), ]); setData(joinData(geoData, ncovData.results)); diff --git a/examples/react/covid/demo/covid_grid.tsx b/examples/react/covid/demo/covid_grid.tsx index a41342a082..77bd03b94a 100644 --- a/examples/react/covid/demo/covid_grid.tsx +++ b/examples/react/covid/demo/covid_grid.tsx @@ -82,7 +82,7 @@ const World = React.memo(function Map() { ).then((d) => d.json()), // https://lab.isaaclin.cn/nCoV/api/area?latest=1 fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/0676f102-22f6-4c75-ab12-1ae200834b1c.json', + 'https://gw.alipayobjects.com/os/bmw-prod/55a7dd2e-3fb4-4442-8899-900bb03ee67a.json', ).then((d) => d.json()), fetch( 'https://gw.alipayobjects.com/os/bmw-prod/8990e8b4-c58e-419b-afb9-8ea3daff2dd1.json', diff --git a/packages/core/src/services/interaction/InteractionService.ts b/packages/core/src/services/interaction/InteractionService.ts index 6489fdcaf3..2126e13405 100644 --- a/packages/core/src/services/interaction/InteractionService.ts +++ b/packages/core/src/services/interaction/InteractionService.ts @@ -59,7 +59,6 @@ export default class InteractionService extends EventEmitter private addEventListenerOnMap() { const $containter = this.mapService.getMapContainer(); - Hammer.defaults.domEvents = true; if ($containter) { const hammertime = new Hammer.Manager($containter); hammertime.add( diff --git a/stories/Components/components/Marker.tsx b/stories/Components/components/Marker.tsx index eef8155889..250d73a5c7 100644 --- a/stories/Components/components/Marker.tsx +++ b/stories/Components/components/Marker.tsx @@ -73,9 +73,8 @@ export default class MarkerComponent extends React.Component { scene.on('loaded', () => { // @ts-ignore - marker.on('click', (e) => { - console.log(this.scene.getZoom()); - }); + // marker.on('click', (e) => { + // }); // const marker1 = new AMap.Marker({ // map: scene.map, // position: [120.184824, 30.248341],