add data field switching and polygon zooming