DataSets[Builtin][WorldMap]
AddPoint
insert a point into a WorldMap object
Calling Sequence
Parameters
Description
Examples
Compatibility
AddPoint(m,p,plotopts)
m
-
a WorldMap object
p
a list representing a point
plotopts
(optional) plot options for p
The AddPoint command inserts the point p into m.
p must be a list of either two or three 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 optional third element is a string label for the point.
The longitude must lie in the interval [-180,180], and the latitude must lie in the interval [-90,90].
plotopts specify how each individual point gets displayed in 2D projections. This option is ignored when visualizing the resulting map in 3D. By default, a point is displayed as a black asterisk.
m≔DataSets:-Builtin:-WorldMap⁡
m≔PLOT⁡...A map of the worldprojection: MillerCylindrical
Add a point with a label:
AddPoint⁡m,−80.52,43.47,Waterloo,symbol=solidcircle
PLOT⁡...A map of the world with 1 pointprojection: MillerCylindrical
Add another point without a label:
AddPoint⁡m,−100,45,symbol=solidcircle,symbolsize=20,color=OrangeRed
PLOT⁡...A map of the world with 2 pointsprojection: MillerCylindrical
Display⁡m
The DataSets[Builtin][WorldMap][AddPoint] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
AddPoints
RemovePoint
WorldMap
Download Help Document