Add more parameter in mapfile and layer.cpp