DataSets[Builtin][WorldMap]
ZoomIn
zoom in at a focus point
ZoomOut
zoom out at a focus point
Calling Sequence
Parameters
Examples
Compatibility
ZoomIn(m)
ZoomIn(m,ref)
ZoomIn(m,p)
ZoomOut(m)
ZoomOut(m,ref)
ZoomOut(m,p)
m
-
a WorldMap object
ref
a Reference to the GeoNames dataset
p
a list representing a point
The ZoomIn command zooms in the view with respect to some focus point.
If only m is given, the focus point will be the current view center.
If ref is supplied, ref must contain exactly one row, so that it corresponds to exactly one point.
If a point p is supplied, p will be the focus point for zooming in.
p must be a list of two elements. The first element in p is the longitude (x-coordinate in the Geographic projection), and the second element in p is the latitude (y-coordinate in the Geographic projection).
The ZoomOut command zooms out the view with respect to some focus point.
If a point p is supplied, p will be the focus point for zooming out.
ref≔DataSets:-Builtin:-Reference⁡GeonamesCountry=Canada,Name=Waterloo
ref≔
m≔DataSets:-Builtin:-WorldMap⁡ref
m≔PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical
Display⁡m
ZoomOut⁡m
PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical
ZoomIn⁡m,ref1
The DataSets[Builtin][WorldMap][ZoomIn] and DataSets[Builtin][WorldMap][ZoomOut] commands were introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
ResetView
WorldMap
Download Help Document