encoding  utf-8
#!FILE 3
layout common
  scale 1 500
  map-header 0 0 off
#! When you export map and use
#!CODE
symbol-show point flag:continuation
#!ENDCODE
#! in your layout, station with continuation flag specified
#! is marked by question mark (continuation
#! symbol is shown above the station).
#!IMAGE map1.pdf
endlayout

layout normal
  copy common
endlayout

layout show-cont
  copy common

#! You may redefine continuation symbol to show also
#! continuation description (stored in <code>_text</code> 
#! attribute) using following layout code
#!CODE
code metapost
  def p_continuation(expr pos,theta,sc,al) =
  
    % draw default continuation symbol
    p_continuation_UIS(pos,theta,sc,al);

    % if text attribute is set
    if known(ATTR__text) and picture(ATTR__text):
    
      % set labeling color to light orange
      push_label_fill_color(1.0, 0.9, 0.8);   
      
      % draw filled label with text next to ?
      p_label.urt(ATTR__text,(.5u,-.25u) transformed T,0.0,8);      
      
      % restore original labeling color
      pop_label_fill_color;                   
      
    fi;
  enddef;
endcode
#!ENDCODE
#! Then also continuation description is displayed in the map.
#!IMAGE map2.pdf
endlayout

