style and resize map