Changeset 6094
- Timestamp:
- Mar 3, 2016, 6:41:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/map.tcl
r6093 r6094 900 900 901 901 # ---------------------------------------------------------------------- 902 # USAGE: type <layerName>903 #904 # Returns the type of the named layer905 # ----------------------------------------------------------------------906 itcl::body Rappture::Map::type { layerName } {907 set id [$_tree findchild root->"layers" $layerName]908 if { $id < 0 } {909 error "unknown layer \"$layerName\""910 }911 return [$_tree get $id "type" ""]912 }913 914 # ----------------------------------------------------------------------915 902 # USAGE: isGeocentric 916 903 #
Note: See TracChangeset
for help on using the changeset viewer.