Google Maps is removing a feature that tells people how many calories they’ll burn talking a certain route after a backlash from users.

The tech company is facing complaints over a new function that appears when users hit the walking option for a route, which calculates what the calories equate to in mini cupcakes.

Users have reacted badly to cupcake metric on social media describing it as “shaming” and some saying it could be a trigger for people suffering from eating disorders.

Google confirmed to the Telegraph that the feature, which is being tested in the iOS version of Maps, will end this evening after it had received “strong user feedback”.