The mapViz application is an IDL object an must be created as such.
mapObject = obj_new('mapviz',...3 positional parameters,...keywords)
As in map_set the three positional parameters are (in order) map center latitude, map center longitude, and the map rotation angle in degrees from north.
The available keywords on object creation are:
xsize = x size of map in pixels. Default value is 600 pixels.
ysize = y size of map in pixels. Default value is 300 pixels.
boxcolor = color index for the rubber band box. Default value is 3.
projection = projection name. Has to be a string with one of the following values.
'Orthographic'
'Satellite'
'Cylindrical'
'Mercator'
'Mollweide'
'HammerAitoff'
'MillerCylindrical'
'Perspective'
Details on each projection can be found in the IDL on-line help.
chartName = Title that will appear in system menu. If nothing is supplied then 'Map Viz' will appear in the title.
group_leader = group leader of widget that calls this if mapViz is called from another widget program.
xoffset = offset in x direction that the map will initially appear.
yoffset = offset in y direction that the map will initially appear.
userName = User name (as a string) that will be used to create and read a preferences file.
mapIsotropic = If this keyword is set then the map aspect ratio will be fixed at 1 degree latitude by 1 deg longitude.
zoomIsotropic = When set then the zoom box will have a 1 degree by 1 degree aspect ratio.
backgroundColor = Initial color of the map background specified as a color index.