- Timestamp:
- Feb 27, 2016, 6:34:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mapviewer.tcl
r6064 r6065 301 301 } 302 302 303 DebugTrace "main: [winfo class $itk_component(main)]" 303 304 itk_component add view { 304 305 canvas $itk_component(plotarea).view \ … … 672 673 set params(-color) black 673 674 } 675 # Add to display list 674 676 set pos [lsearch -exact $_dlist $dataobj] 675 677 if {$pos < 0} { … … 820 822 set _mapsettings(extents) $settings(extents) 821 823 set _mapsettings(camera) $settings(camera) 822 DebugTrace "map style: $settings(style)"823 }824 } 825 # If dataobj has the same type and projection as view, expand extents 824 826 if { $settings(extents) != "" && 825 827 $settings(type) == $_mapsettings(type) && … … 2182 2184 2183 2185 # 2184 # #camera2185 # #2186 # #This is the public camera API2187 # #2186 # camera 2187 # 2188 # This is the public camera API 2189 # 2188 2190 itcl::body Rappture::MapViewer::camera {option args} { 2189 2191 switch -- $option { … … 2864 2866 set attrib [list] 2865 2867 set imgIdx 0 2868 # FIXME: This order may not match stacking order in server 2866 2869 foreach dataobj [get -objects] { 2867 2870 foreach layer [$dataobj layers] {
Note: See TracChangeset
for help on using the changeset viewer.