Changeset 6096 for trunk/gui/scripts


Ignore:
Timestamp:
Mar 3, 2016, 6:56:30 PM (9 years ago)
Author:
ldelgass
Message:

validate layer type for placard in XML

File:
1 edited

Legend:

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

    r6095 r6096  
    224224        set placard [$layers element -as object $layer.placard]
    225225        if {$placard != ""} {
     226            if {$layerType == "image" || $layerType == "elevation"} {
     227                puts stderr "ERROR: Placard not supported on image or elevation layers"
     228            }
    226229            foreach key { attributes style padding } {
    227230                set $key [$placard get $key]
Note: See TracChangeset for help on using the changeset viewer.