image copyrightReutersimage captionFires are raging north of the city of Kamloops, British Columbia

The Canadian military is on standby to help evacuate residents in British Columbia where wildfires linked to a record-breaking heatwave threaten to engulf communities.

Emergency services say they are now trying to control more than 170 fires, many triggered by lightning strikes.

Many western areas are tinder-dry followed the unprecedented hot weather.

Meanwhile, at least two people are reported to have died in the village of Lytton that was destroyed by fire.

Lytton recorded Canada's highest ever temperature of 49.6C (121.3F) on Tuesday.

  • Visual guide to the heatwave's causes
  • How to look after yourself in hot weather

About 350 military personnel as well as aircraft are being readied to help threatened communities, Canadian defence Minister Harjit Sajjan told reporters.

The announcement came after Prime Minister Justin Trudeau held emergency talks with ministers as well as provincial and indigenous leaders from the affected areas.

"We will be there to help," he said.

image copyrightReutersimage captionPolice roadblocks are in place around the village of Lyttonimage copyrightReutersimage captionLytton resident Martha Van Dyke grabbed her cats and fled her home as the fire swept in

Abnormally high temperatures have been recorded in swathes of North America in recent days.

Experts say that climate change is expected to increase the frequency of extreme weather events, such as heatwaves. However, linking any single event to global warming is complicated.

Evacuation orders and alerts are in place for several areas north of the city of Kamloops, 350km (220 miles) north-east of Vancouver where the worst fires are raging.

"We saw 12,000 lightning strikes, roughly, yesterday [Friday]," said Cliff Chapman, director of provincial operations for British Columbia Wildfire Service.

"Many of those lightning strikes were hitting near communities… in the Kamloops area," he said, according to broadcaster CBC.

On Saturday, the British Columbia Coroners Service confirmed that at least two people had died in Lytton where a wildfire on Wednesday evening forced many of its 250 residents to flee without their belongings.

media captionWatch: Lytton, British Columbia residents flee wildfires

Earlier, resident Jeff Chapman told CBC he had seen his parents killed by the fire as they sought refuge in a trench near their home.

Lytton Mayor Jan Polderman told the BBC: "Within about 15 minutes the whole town was engulfed in flames."

Health officials say extreme heat is likely to have contributed to 719 sudden deaths over the past week.

"Many of the deaths experienced over the past week were among older individuals living alone in private residences with minimal ventilation," Chief Coroner Lisa Lapointe said in a statement.

Temperatures have been easing in coastal areas of Canada, but there is not much respite for inland regions. The British Columbia Wildfire Service said it was bracing for more wildfires.