Skip to content

You're reading the docs for Draftbit Classic (v1), our previous builder. In Draftbit today, you describe the app you want and the agent writes real code you own.

Map Marker Cluster

The new Map Marker Cluster component takes Map Markers as its children and groups them into a single marker on the map when zoomed out enough, and shows the markers themselves when zoomed in.

The Map Marker Cluster is nested inside a Map View component. Inside you can have any number of Map Markers that will be clustered together on the map.

To customize how the cluster is rendered on the map, you can use the Map Marker Cluster View.

PropertyDescription
Component nameThe name of the component as it appears in the Screen’s component tree

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.