! Test case for plotting a kml file with no map underneath it
!
! @author:  J Bauer
! @version: $Id: test_plot_layerkml_small.mm,v 1.3 2013/04/29 21:41:19 jwb Exp $
! @bug 2256
!
startmacro

  set defInstr "You should see a polygon with a blue rectangle with a white border inside it. \n\n&
                You should not need to zoom in to see the polygon. "

  pipe init

  panel/msgid=main/setup/controls=gc

  plot/msgid=main/id=plot1 nxm.sys.test.kmlTestSmall.kml

  gcontrol label macro "MACRO"
  gcontrol/tleft menu main "Exit with Status = " "PASS,FAIL" table={ITEMCOLORS={PASS=GREEN,FAIL=RED}}
  gcontrol text idtext "Instructions" "^defInstr" 24 10 /title


endmacro

procedure processMessage m:msg
  if /debug then say "Got message ^msg data=^msg.data"

  if msg.name eqs "MAIN" then
    assert/text="^reg.main.name user indicated" msg.data eqss "PASS"
    pipe stop
  endif
return
