Hello,
I am using a map with 2 layers
Dim
layer
As
New
MapLayer(
"Site"
)
layer.ClusterStrategy =
New
ElementClusterStrategy()
layer.ClusterDistance = 50
Me
.RadMap1.Layers.Add(layer)
Me
.RadMap1.Layers.Add(
New
MapLayer(
"Base départ"
))
And i add elements to the map like this
Dim
element
As
New
MapPin(siteInfo.Location)
element.Text =
String
.Format(
"{0}"
& vbCrLf &
"{1}"
, siteInfo.Name, siteInfo.adresse)
element.BackColor =
Me
.colors(siteInfo.identifieur)
element.Tag = siteInfo
element.ToolTipText =
String
.Format(
"{0}"
& vbCrLf &
"{1}"
, siteInfo.Name, siteInfo.adresse)
Me
.RadMap1.Layers(siteInfo.identifieur).Add(element)
In this setup, tooltiptext works on pins contained on layer without cluster, but they don't on the one with cluster.
Can you tell me how can i use ToolTipText with cluster ?
Thank you