initial version of adding line profiles to map image viewer