Update MapLayer.cpp