Added support for projection in `getSelectedExtent` and `setExtent` methods.