add option for specifying centre of map and extent