show map logic