+button $win.topframe.hide\
+ -text {Hide Map}\
+ -font [Font $win Medium]\
+ -borderwidth 1\
+ -command "HideMap $win" \
+ -relief flat
+LinkWindow $win.hide $win.topframe.hide
+tk_bindForTraversal $win.topframe.hide
+
+proc HideMap {win} {
+ pack unpack $win.centerframe
+ $win.topframe.hide configure \
+ -text {Show Map}\
+ -command "ShowMap $win"
+}
+
+proc ShowMap {win} {
+ pack append $win\
+ $win.centerframe {top frame center fill}
+ $win.topframe.hide configure \
+ -text {Hide Map}\
+ -command "HideMap $win"
+}
+