bookmarks and gazetteer share same render function