Changeset 6098


Ignore:
Timestamp:
Mar 3, 2016, 8:51:01 PM (8 years ago)
Author:
ldelgass
Message:

check for invalid use of placard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mapviewer.tcl

    r6086 r6098  
    28992899
    29002900    if {[info exists info(placard)]} {
     2901        if {$info(type) == "image" || $info(type) == "elevation"} {
     2902            error "Placard not supported on image or elevation layers"
     2903        }
    29012904        array set placard [$dataobj getPlacardConfig $layer]
    29022905        SendCmd [list placard config $placard(attrlist) $placard(style) $placard(padding) $tag]
Note: See TracChangeset for help on using the changeset viewer.