color pole caps according to current map layer