//单数据成功
// 地理经纬度坐标
const lon = 116.4;
const lat = 39.9;
// 构造成 LngLat 对象后传入
let lnglat = new AMap.LngLat(lon, lat);
let pixel = this.map.lngLatToContainer(lnglat); // 获得 Pixel 对象
ctx.fillText("2",pixel.x,pixel.y);