added custom calculator function for markerClusterer