fixed a bug in id413
fixed layout of mapview