Added method for pin generation in map