Changeset 4355 for trunk/gui/scripts/mapviewer.tcl
- Timestamp:
- May 16, 2014, 8:48:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mapviewer.tcl
r4336 r4355 1698 1698 } 1699 1699 if {!$_sendEarthFile} { 1700 SendCmd [list map layer add image gdal $info(url) $layer] 1700 switch -- $info(driver) { 1701 "gdal" { 1702 SendCmd [list map layer add image gdal \ 1703 $info(url) $layer] 1704 } 1705 "wms" { 1706 SendCmd [list map layer add image wms \ 1707 $info(wms.url) \ 1708 $info(wms.layers) \ 1709 $info(wms.format) \ 1710 $info(wms.transparent) \ 1711 $layer] 1712 } 1713 "xyz" { 1714 SendCmd [list map layer add image xyz \ 1715 $info(xyz.url) \ 1716 $layer] 1717 } 1718 } 1701 1719 } 1702 1720 SendCmd "map layer opacity $settings(-opacity) $layer"
Note: See TracChangeset
for help on using the changeset viewer.