Pass the extent and not the complete map