added dynamic map bounds.