HMS-Core / hms-react-native-plugin

This repo contains all of React-Native HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
240 stars 68 forks source link

[react-native-hms-map] Add support for custom behavior on cluster click #168

Closed ilpwork closed 2 years ago

ilpwork commented 2 years ago

Description I am using a react-native-hms-map to show orders on a map. Sometimes there are double orders (two at one point) and due to the standard behavior of clicking on the cluster (centering) it is impossible to select these orders even at the maximum zoom.

Expected behavior Ability to use custom behavior onClusterClick

Current behavior Standard behavior of clicking on the cluster (centering)

Environment

ozcanozgur commented 2 years ago

Hi @ilpwork,

According to our tests the issue is caused by the native Android Huawei Map SDK. Huawei React Native Map Plugin is a wrapper of native Android Huawei Map SDK thus inherits the behaviours of it. For any question and suggestions please submit a ticket online.

Thank you for your interest.

ilpwork commented 2 years ago

Thank you for your answer