fix warning plotting and make map clickable to pan