function [long_out,lat_out]=get_point_on_map

pntx=[];
pnty=[];

button(1)=1;

[xxx,yyy,button]=ginput(1);
if(isempty(button)==1)
	button=13;
else,
	xx(1)=xxx; yy(1)=yyy;
end


% Click mouse to enter a point
   if button==1,
        pntx=[pntx xx(1)];
        pnty=[pnty yy(1)];
        hold on
        plot(xx(1),yy(1),'o')
        hold off
   end

  

[long_out,lat_out]=m_xy2ll(pntx,pnty);
