This commit is contained in:
zk
2023-12-19 18:10:46 +08:00
parent 3e53c75a6f
commit 8dccce0208
16 changed files with 128 additions and 35 deletions
-3
View File
@@ -148,7 +148,6 @@ export const Map = {
this.overlayGroup.on('click', function (e) {
//拿到点中携带的数据
// console.log(e.target.getExtData());
if (!isFunction(callback)) return;
callback(e.target.getExtData());
});
@@ -166,7 +165,6 @@ export const Map = {
* @param result
*/
createAircraft(result: ResultType[]) {
console.log('result', result);
this.removeOverlayGroup();
this.clearActiveHospital();
// debugger;
@@ -180,7 +178,6 @@ export const Map = {
arr,
{
renderMarker: (context) => {
console.log('context', context);
let factor = Math.pow(context.count / count, 1 / 18);
let div = document.createElement('div');
div.className = 'render-air';