Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map组件,使用自定义聚合簇无法显示自定义的气泡内容,并且发生聚合时会报错 #17048

Open
tanghx opened this issue Dec 18, 2024 · 0 comments

Comments

@tanghx
Copy link

tanghx commented Dec 18, 2024

相关平台

微信小程序

复现仓库

https://gitee.com/tanghx/mini-map-demo.git
小程序基础库: 3.7.2
使用框架: Vue 3

复现步骤

点击添加marker,随机添加marker到地图中,多添加几个触发聚合,然后会看到自定义聚合点没有自定义气泡的内容。
使用源生小程序开发,则没有这个问题,下面是源生小程序的代码片段
https://developers.weixin.qq.com/s/0irf6xmR7dWO

期望结果

使用自定义聚合点,可以像自定义marker一样显示自定义气泡的内容

实际结果

自定义聚合点不会显示自定义气泡的内容

环境信息

 Taro v3.3.9

Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

  Taro CLI 3.3.9 environment info:
    System:
      OS: macOS 12.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.10.0 - ~/.nvm/versions/node/v16.10.0/bin/node
      Yarn: 1.22.10 - /opt/homebrew/Cellar/yarn/1.22.10/bin/yarn
      npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
    npmPackages:
      @tarojs/components: 3.3.9 => 3.3.9 
      @tarojs/mini-runner: 3.3.9 => 3.3.9 
      @tarojs/runtime: 3.3.9 => 3.3.9 
      @tarojs/taro: 3.3.9 => 3.3.9 
      @tarojs/webpack-runner: 3.3.9 => 3.3.9 
      babel-preset-taro: 3.3.9 => 3.3.9 
      eslint-config-taro: 3.3.9 => 3.3.9 
    npmGlobalPackages:
      typescript: 5.0.2
This was referenced Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant