A Russian map company has inadvertently revealed secret foreign military bases — by blurring them out.

Yandex Maps, Russia's answer to Google Maps, obscured the locations of 300 sites – some of them top secret nuclear facilities – in Israel and Turkey.

But by doing so the company confirmed their locations, as well as their exact size and layout.

Among the bases inadvertently unveiled were surface-to-air missile sites and nuclear storage sites, according to a report by the Federation of American Scientists (FAS).

The buildings include airfields, ports, bunkers, storage sites, bases, barracks, nuclear facilities and random buildings.

HOW TO FIND AND DELETE WHERE GOOGLE KNOWS YOU'VE BEEN

Some were known already — but many were previously a secret.

The FAS' Matt Korda wrote: “This blurring is almost certainly the result of requests from both Israel and Turkey; it seems highly unlikely that a Russian company would undertake such a time-consuming task of its own volition.

“Fortunately, this has had the unintended effect of revealing the location and exact perimeter of every significant military facility within both countries, if one is obsessive curious enough to sift through the entire map looking for blurry patches.

GOOGLE MAPS SEARCH ENDS IN DIVORCE AFTER CHEATING WIFE FOUND

“By complying with requests to selectively obscure military facilities, the mapping service has actually revealed their precise locations, perimeters, and potential function to anyone curious enough to find them all.”

Among the blurred sites are two NATO facilities: Allied Land Command (LANDCOM) in Izmir, and Incirlik Air Base, which hosts US B61 nuclear gravity bombs.

Camp Glilot, north of Tel Aviv, the home of Unit 8200, the signal intelligence and code deciphering arm of the Israeli Defence Forces is also one of the sites revealed. It is believed to intercept communications from across Africa and the Middle East.

Online mapping services such as Google have been blurring sensitive locations on behalf of governments for years.

10 BREATHTAKING VIEWS ON GOOGLE MAPS

In France, for example, the government asked Google to blur prisons after a criminal planned a successful escape from one involving drones, smoke bombs and a stolen helicopter.

Sometimes satellite map providers reduce the resolution of entire areas to ensure a secret facility is not picked out.

U.S. federal law prohibits U.S.-based map services from showing the whole of Israel in any greater detail than a two-meter resolution.

A Yandex spokesperson told Fox News: "Yandex has been developing mapping services for consumers and businesses for almost 20 years.

"In the past decade we have expanded our mapping services to include new locations including Turkey and Israel.

"The development process for any map includes gathering many varieties of publicly available information to make the mapping product as robust and useful as possible. In addition to gathering this information, we also determine local regulations and requirements for mapping products. Local regulations sometimes require the blurring of certain locations of satellite imagery or the removal of other such information to protect sensitive information.

"In countries where we are developing our services, such as Turkey and Israel, we are especially careful to update the maps and meet the requirements of local regulations. In the cases of Israel and Turkey, our product complies with all regulations and requests of the authorities. Certain locations in satellite images are blurred so that it is impossible to clearly see them. Our mapping product in Israel conforms to the national public map published by the government of Israel as it pertains to the blurring of military assets and locations. Our Turkish map product observes local rules and regulations similarly."