Hi Telerik,
I'm using 2021.2.616.45 AJAX controls and I have the bubble layer working as per your example https://demos.telerik.com/aspnet-ajax/map/examples/functionality/bubble-layer/defaultcs.aspx
But I can't get the tooltip to work.
<telerik:RadMap RenderMode="Lightweight" runat="server" ID="rmDeliveryHeatmap" Zoom="3" MinZoom="2" MaxZoom="16" Width="98%">
<ClientEvents OnShapeMouseEnter="onShapeMouseEnter"/>
<CenterSettings Latitude="23" Longitude="10" />
<LayersCollection>
<telerik:MapLayer Type="Tile" Subdomains="a,b,c"
UrlTemplate="https://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
Attribution="© <a href='https://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
</telerik:MapLayer>
<telerik:MapLayer Type="Bubble" ClientDataSourceID="RadClientDataSource" ValueField="DeliveryCount" LocationField="Location">
<TooltipSettings Position="Top" Template="<p>#= marker.dataItem.ItemCount #</p>" />
<StyleSettings>
<FillSettings Opacity="0.4" Color="#00cc66"/>
<StrokeSettings Width="0" />
</StyleSettings>
</telerik:MapLayer>
</LayersCollection>
</telerik:RadMap>
I'm guessing that the object name in the Template attribute is wrong.
<TooltipSettings Position="Top" Template="<p>#= marker.dataItem.ItemCount #</p>" />
Please can you provide a working example.
Cheers,
Matt