Implements clustering of map pins