Current extends for Globe and Map

It's just an small feature to get the current view extends.

It has been useful for us, so I think it could be useful for others