元数据库中的引脚映射不显示引脚

Pin Map in Metabase not Showing pins

我正在尝试根据 Metabase 中的经度和纬度制作 Pin Map 可视化,我使用自定义查询来做到这一点 运行:

SELECT
    transaction_loc_latitude,
    transaction_loc_longitude,
    CAST(transaction_loc_latitude AS DECIMAL(17, 15)) AS latitude,
    CAST(transaction_loc_longitude AS DECIMAL(56, 15)) AS longitude
FROM
    mrg_merchant_transaction_2020_10
WHERE
    transaction_loc_longitude IS NOT NULL
    AND transaction_loc_latitude IS NOT NULL
    AND transaction_loc_longitude NOT IN ('0', '0.0', '0.00000000', '00')
    AND transaction_loc_latitude NOT IN ('0', '0.0', '0.00000000')

查询结果截图如下:

这之后确定经纬度已经是十进制了,然后在相应的字段里设置

但是地图上没有显示任何图钉:

如何让图钉出现?我还想念什么吗?提前致谢

如果您的请求 return 超过 999 行,则会出现错误:

Pin Maps with more than 1000 results (LeafletTilePinMap) not working with native queries