ZoomIn - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


DataSets[Builtin][WorldMap]

  

ZoomIn

  

zoom in at a focus point

  

ZoomOut

  

zoom out at a focus point

 

Calling Sequence

Parameters

ZoomIn

ZoomOut

Examples

Compatibility

Calling Sequence

ZoomIn(m)

ZoomIn(m,ref)

ZoomIn(m,p)

ZoomOut(m)

ZoomOut(m,ref)

ZoomOut(m,p)

Parameters

m

-

a WorldMap object

ref

-

a Reference to the GeoNames dataset

p

-

a list representing a point

ZoomIn

• 

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).

ZoomOut

• 

The ZoomOut command zooms out 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 out.

• 

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).

Examples

> 

ref≔DataSets:-Builtin:-Reference⁡GeonamesCountry=Canada,Name=Waterloo

ref≔Geonames (GeoNamesid)NameType…(7 more)6176821Waterloopopulated place…6176823Waterloopopulated place…8673866Waterloothird-order administrative division…

(1)
> 

m≔DataSets:-Builtin:-WorldMap⁡ref

m≔PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical

(2)
> 

Display⁡m

> 

ZoomOut⁡m

PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical

(3)
> 

Display⁡m

> 

ZoomOut⁡m

PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical

(4)
> 

Display⁡m

> 

ZoomIn⁡m,ref1

PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical

(5)
> 

ZoomIn⁡m,ref1

PLOT⁡...A map of the world with 3 pointsprojection: MillerCylindrical

(6)
> 

Display⁡m

Compatibility

• 

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