You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**clusterColor**| String | #00B386 | Background color of cluster. |
76
57
|**clusterTextColor**| String | #FFFFFF | Color of text in cluster. |
58
+
|**clusterFontFamily**| String | undefined | Font family of text in cluster. |
77
59
|**onClusterPress(cluster, markers)**| Function | () => {} | Allows you to control cluster on click event. Function returns information about cluster and its markers. |
60
+
|**tracksClusterViewChanges**| Bool | false | Sets whether the cluster markers should track view changes. It's turned off by default to improve cluster markers performance. |
78
61
|**width**| Number | window width | map's width. |
79
62
|**height**| Number | window height | map's height. |
80
63
|**radius**| Number | window.width \* 6% |[SuperCluster radius](https://github.com/mapbox/supercluster#options). |
@@ -86,14 +69,23 @@ export default App;
86
69
|**animationEnabled**| Bool | true | Animate imploding/exploding of clusters' markers and clusters size change. **Works only on iOS**. |
87
70
|**layoutAnimationConf**| LayoutAnimationConfig | LayoutAnimation.Presets.spring |`LayoutAnimation.Presets.spring`| Custom Layout animation configuration object for clusters animation during implode / explode **Works only on iOS**. |
88
71
|**onRegionChangeComplete(region, markers)**| Function | () => {} | Called when map's region changes. In return you get current region and markers data. |
72
+
|**onMarkersChange(markers)**| Function | () => {} | Called when markers change. In return you get markers data. |
89
73
|**mapRef(ref)**| Function | () => {} | Return reference to `react-native-maps` MapView component. |
90
74
|**clusteringEnabled**| Bool | true | Set true to enable and false to disable clustering. |
75
+
|**spiralEnabled**| Bool | true | Set true to enable and false to disable spiral view. |
91
76
|**renderCluster**| Function | undefined | Enables you to render custom cluster with custom styles and logic. |
92
-
|**spiderLineColor**| String | #FF0000 | Enables you to set color of spider line which joins spiral location with center location. |
77
+
|**spiderLineColor**| String | #FF0000 | Enables you to set color of spider line which joins spiral location with center location. |
Build forms, surveys and polls for React Native apps.
84
+
</a>
93
85
94
86
## Support
95
87
96
88
Feel free to create issues and pull requests. I will try to provide as much support as possible over Github. In case of questions or problems, contact me at:
0 commit comments