On both of my flights today, and some prior, I have noticed that the map sometimes gives incorrect wind direction details. Today, I flew to Dar-es-Salaam (HTDA) and Bora Bora (NTBB); on the map, both airports had green indicators for all runways despite the weather conditions. When I landed at HTDA, I had an 18 knot crosswind and at NTBB, there was a 16 knot tailwind, all despite the runways being marked green. What is the reason for this error?