map_clusters_plotly: Render Cluster Map with plotly

View source: R/mapping_functions.R

map_clusters_plotlyR Documentation

Render Cluster Map with plotly

Description

Internal helper used by map_clusters() when engine = "plotly". The function takes prepared map data from prepare_map_data() and returns an interactive plotly map. Polygon outlines and cluster fills are drawn as scatter traces, while hover labels are provided by a separate invisible point layer generated from the representative point data.

Usage

map_clusters_plotly(md)

Arguments

md

named list as returned by prepare_map_data().

Value

A plotly htmlwidget object.


gsClusterDetect documentation built on July 27, 2026, 5:09 p.m.