 ResetView - Maple Help

DataSets[Builtin][WorldMap]

 ResetView
 change the zoom and center to be the default values Calling Sequence ResetView(m) Parameters

 m - a WorldMap object Description

 • The ResetView command resets the zoom and center of m to the default state.
 • The default view is determined based on the points stored in m. If m contains no point, the default view includes the entire world. Examples

 > $m≔\mathrm{DataSets}:-\mathrm{Builtin}:-\mathrm{WorldMap}\left(\right)$
 ${m}{≔}\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (1)
 > $\mathrm{ZoomIn}\left(m,\left[-100,40\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (2)
 > $\mathrm{ZoomIn}\left(m,\left[-100,40\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (3)
 > $\mathrm{ZoomIn}\left(m,\left[-100,40\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (4)
 > $\mathrm{Display}\left(m\right)$ > $\mathrm{ResetView}\left(m\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (5)
 > $\mathrm{Display}\left(m\right)$ > Compatibility

 • The DataSets[Builtin][WorldMap][ResetView] command was introduced in Maple 2017.