Ignore:
Timestamp:
Sep 22, 2016, 4:14:15 PM (8 years ago)
Author:
ldelgass
Message:

Add client support for WMS-T

File:
1 edited

Legend:

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

    r6547 r6551  
    27792779                }
    27802780                "wms" {
    2781                     SendCmd [list map layer add $tag image wms \
    2782                                  $info(wms.url) $info(cache) $coverage \
    2783                                  $info(wms.layers) \
    2784                                  $info(wms.format) \
    2785                                  $info(wms.transparent)]
     2781                    if {[info exists info(wms.times)]} {
     2782                        SendCmd [list map layer add $tag image wms \
     2783                                     $info(wms.url) $info(cache) $coverage \
     2784                                     $info(wms.layers) \
     2785                                     $info(wms.format) \
     2786                                     $info(wms.transparent) \
     2787                                     $info(wms.times) \
     2788                                     $info(wms.frameSeconds)]
     2789                    }
     2790                        SendCmd [list map layer add $tag image wms \
     2791                                     $info(wms.url) $info(cache) $coverage \
     2792                                     $info(wms.layers) \
     2793                                     $info(wms.format) \
     2794                                     $info(wms.transparent)]
     2795                    }
    27862796                }
    27872797                "xyz" {
Note: See TracChangeset for help on using the changeset viewer.