Changeset 6264 for trunk


Ignore:
Timestamp:
Apr 13, 2016 10:30:26 AM (8 years ago)
Author:
ldelgass
Message:

set map description

File:
1 edited

Legend:

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

    r6139 r6264  
    5050    public method setAttribution { attribution }
    5151    public method setCamera { camera }
     52    public method setDescription { description }
    5253    public method setExtents { xmin ymin xmax ymax {srs "wgs84"} }
    5354    public method setLabel { label }
     
    147148    # Set global map properties
    148149    setLabel [$map get "about.label"]
     150    setDescription [$map get "about.description"]
    149151    setAttribution [$map get "about.attribution"]
    150152
     
    506508}
    507509
     510itcl::body Rappture::Map::setDescription { description } {
     511    $_tree set root "description" $description
     512}
     513
    508514itcl::body Rappture::Map::setAttribution { attribution } {
    509515    $_tree set root "attribution" $attribution
Note: See TracChangeset for help on using the changeset viewer.