I am developing a website with a bing card. I almost did it, but I want to have button clustering functionality. Then I got this code from the Internet:
var data = [ { "latitude": 59.441193, "longitude": 24.729494 }, { "latitude": 59.432365, "longitude": 24.742992 }, { "latitude": 59.431602, "longitude": 24.757563 }, { "latitude": 59.437843, "longitude": 24.765759 }, { "latitude": 59.439644, "longitude": 24.779041 }, { "latitude": 59.434776, "longitude": 24.756681 } ];
I can get the latitude and longitude of each button on my map, but I donβt know how to add the latitude and longitude in this array. Can anybody help me?
source share