Answered by:
Bing Maps v8 API -Clustering

Question
-
Do we have any replacement for 'ClusteredEntityCollection' in Bing maps V8?
Below sample code used for Bingmap V7:
greenLayer = new ClusteredEntityCollection(Mainmap, {
singlePinCallback: createPin,
clusteredPinCallback: createClusteredpin
});
greenLayer.SetData(data);Wednesday, April 20, 2016 10:51 AM
Answers
-
Hi,
Please refer the following link
http://www.bing.com/api/maps/sdk/mapcontrol/isdk#clusteringMeanAverage+TS
Hope this will work.
Thanks!
Balasaheb
Balasaheb
- Edited by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM Made link clickable
- Proposed as answer by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM
- Marked as answer by Ricky_Brundritt Monday, May 9, 2016 4:48 PM
Wednesday, April 20, 2016 1:18 PM -
Clustering is now built into the Bing Maps V8 control: Documentation can be found here: https://msdn.microsoft.com/en-us/library/mt712807.aspx
As Balasaheb mentioned you can find code samples in the interactive SDK here: http://www.bing.com/api/maps/sdk/mapcontrol/isdk#clusteringMeanAverage+TS
- Proposed as answer by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM
- Marked as answer by Ricky_Brundritt Monday, May 9, 2016 4:48 PM
Wednesday, April 20, 2016 2:26 PM
All replies
-
Hi,
Please refer the following link
http://www.bing.com/api/maps/sdk/mapcontrol/isdk#clusteringMeanAverage+TS
Hope this will work.
Thanks!
Balasaheb
Balasaheb
- Edited by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM Made link clickable
- Proposed as answer by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM
- Marked as answer by Ricky_Brundritt Monday, May 9, 2016 4:48 PM
Wednesday, April 20, 2016 1:18 PM -
Clustering is now built into the Bing Maps V8 control: Documentation can be found here: https://msdn.microsoft.com/en-us/library/mt712807.aspx
As Balasaheb mentioned you can find code samples in the interactive SDK here: http://www.bing.com/api/maps/sdk/mapcontrol/isdk#clusteringMeanAverage+TS
- Proposed as answer by Ricky_Brundritt Wednesday, April 20, 2016 2:27 PM
- Marked as answer by Ricky_Brundritt Monday, May 9, 2016 4:48 PM
Wednesday, April 20, 2016 2:26 PM