real implementations of getSelectedCenter and getSelectedExtent