How did you assign an attribute to the flareclusterer graphic's maptip?
Protected Overrides Function OnCreateGraphic(ByVal cluster As GraphicCollection, ByVal point As MapPoint, ByVal maxClusterCount As Integer) As Graphic Dim graphic As Graphic= MyBase.OnCreateGraphic(cluster, point, maxClusterCount) If (cluster.Count <> 1) Then If (cluster.Count <= Me.MaximumFlareCount) Then 'We only want to add this attribute to the "small" clusters, the ones that flare out when you mouseover For Each g As Graphic In cluster g.Attributes("CustomAttribute") = attributeValue Next End If Return graphic Else 'these would be unclustered graphics, but my breakpoint here has never been hit... End If Return graphic End Function
I can easily provide MapTip on FlareSymbol using GraphicsLayer.MapTip property but was wondering if there is any way to provide MapTip on Aggregated Symbol ? Infact maptip on custom GraphicsClusterer doesnt work either
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.