About zoom percentage
- Last UpdatedDec 06, 2024
- 1 minute read
Graphics shown in a running ViewApp can be zoomed in to show more detail using scripting. Instead of zooming in from the existing center point of the pane, a script can specify a zoom area center point within the boundaries of a graphic. The ability to place the zoom area center point anywhere within the boundaries of a graphic restricts the zoom area to a specific portion of the graphic to show more detail.
The following graphic shows a graphic of a map within a running ViewApp. The red crosses represent the center points of the different zoom areas of the graphic. The buttons shown at the right of the graphic include action scripts that set XY coordinate center points of the zoom areas. When an operator selects a button, the graphic is moved within the pane to set the selected zoom area to the center of the pane. The map can be zoomed in or out.
