Consolidated popover functions for both townships and gridsquares