This release of the Autodesk MapGuide Viewer API includes one new object and
several new and changed methods and properties. This topic lists these changes
and additions and describes what features they support. When using the API reference
and index, you can also identify which objects, methods, and properties are
new by looking for the
symbol. To identify methods
and properties that have been changed, look for the
symbol. For a list of methods and properties that have been replaced in this
and earlier releases, see Replaced Methods and
Properties.
Release 6.0 provides the following new and enhanced features. Each of these
are described in more detail in the following sections:
Several changes and additions were made to Autodesk MapGuide and the Autodesk
MapGuide Viewer API Help to support Autodesk drawing (DWG) data sources.
The most significant addition is a new MGDwgDataSources
object. Methods and properties were also added or changed in MGMapLayerSetup
to support DWG data sources.
MGDwgDataSources Methods and Properties
|
|
getDataSource
|
Gets the DWG data source name that establishes
a connection between Autodesk MapGuide Server and the data provider.
|
|
getDwg
|
Gets the Autodesk DWG file name or project
file for the Autodesk DWG layer.
|
|
getKeyColumn
|
Gets the name of the column that contains the
primary key for each map feature on the DWG layer.
|
|
getKeyColumnType
|
Gets the DWG key column data type.
|
|
getKeyTable
|
Gets the name of the DWG key table to use as
primary keys for either map feature properties, external database links,
or object data in the Autodesk DWG.
|
|
getLayerFilter
|
Gets the layer filter, which specifies which
layers to extract from the specified Autodesk DWG or project file.
|
|
getNameColumn
|
Gets the name of the column that contains the
name for each map feature.
|
|
getNameTable
|
Gets the name of the DWG table for MapTips
about map feature properties, external database links, or object data
in the Autodesk DWG.
|
|
getUrlColumn
|
Gets the name of the column that contains the
URL associated with each map feature.
|
|
getUrlTable
|
Gets the name of the DWG URL table containing
URLs to which Autodesk DWG map features are linked.
|
|
setDataSource
|
Sets the DWG data source name that establishes
a connection between Autodesk MapGuide Server and the data provider.
|
|
setDwg
|
Sets the Autodesk DWG file name or project
file for the Autodesk DWG layer.
|
|
setKeyColumn
|
Sets the name of the column that contains the
primary key for each map feature on the DWG layer.
|
|
setKeyColumnType
|
Sets the DWG key column data type.
|
|
setKeyTable
|
Sets the name of the DWG key table to use as
primary keys for either map feature properties, external database links,
or object data in the Autodesk DWG.
|
|
setLayerFilter
|
Sets the layer filter, which specifies which
layers to extract from the specified Autodesk DWG or project file.
|
|
setNameColumn
|
Sets the name of the column that contains the
name for each map feature.
|
|
setNameTable
|
Sets the name of the DWG table for MapTips
about map feature properties, external database links, or object data
in the Autodesk DWG.
|
|
setUrlColumn
|
Sets the name of the column that contains the
URL associated with each map feature.
|
|
setUrlTable
|
Sets the name of the DWG URL table containing
URLs to which Autodesk DWG map features are linked.
|
|
DataSource
|
Gets or sets the DWG data source name that
establishes a connection between Autodesk MapGuide Server and the data
provider.
|
|
Dwg
|
Gets or sets the Autodesk DWG file name or
project file for the Autodesk DWG layer.
|
|
KeyColumn
|
Gets or sets the name of the column that contains
the primary key for each map feature on the DWG layer.
|
|
KeyColumnType
|
Gets or sets the DWG key column data type.
|
|
KeyTable
|
Gets or sets the name of the DWG key table
to use as primary keys for either map feature properties, external database
links, or object data in the Autodesk DWG.
|
|
LayerFilter
|
Gets or sets the layer filter, which specifies
which layers to extract from the specified Autodesk DWG or project file.
|
|
NameColumn
|
Gets or sets the name of the column that contains
the name for each map feature.
|
|
NameTable
|
Gets or sets the name of the DWG table for
MapTips about map feature properties, external database links, or object
data in the Autodesk DWG.
|
|
UrlColumn
|
Gets or sets the name of the column that contains
the URL associated with each map feature.
|
|
UrlTable
|
Gets or sets the name of the DWG URL table
containing URLs to which Autodesk DWG map features are linked.
|
MGMapLayerSetup DWG Methods and Properties
|
|
getDataFile
|
Returns the name of the data file from
which Autodesk MapGuide Server retrieves the map data for this map layer.
Support for Autodesk DWG layers was added. This methods returns the Autodesk
DWG file. This use of this method is retained in this release for backward
compatibility and will be deprecated in the next release. Instead, you
should use the MGDwgDataSources getDwg
method.
|
|
getDwgDataSources
|
Returns the MGDwgDataSources object for this
layer. Support for DWG layers was added. This will set the Autodesk DWG
file. This use of this method in this release is retained for backward
compatibility and will be deprecated in the next release. Instead, you
should use the MGDwgDataSources setDwg
method.
|
|
setDataFile
|
Sets the name of the data file from which
Autodesk MapGuide Server retrieves data for this map layer.
|
|
DataFile
|
Gets or sets the name of the data file
from which Autodesk MapGuide Server retrieves map data for this map layer.
Support for DWG layers was added. This property will get or set the Autodesk
DWG file. This use of this property is retained in this release for backward
compatibility and will be deprecated in the next release. Instead, you
should use the MGDwgDataSources Dwg
property.
|
|
MGDwgDataSources
|
Returns the MGDwgDataSources object for this
layer.
|
MGSymbolAttr Bitmap Support Methods and Properties
|
|
setRotation
|
Sets the rotation of the point. This method
was changed to return an error if the symbol contains a bitmap since such
symbols cannot be rotated.
|
|
setSymbol
|
Sets the symbol to be used as the symbol
attribute. This method was changed so that if the specified symbol contains
bitmaps, and the current rotation angle is non-zero, the symbol will be
set, and the rotation angle will be set to zero.
|
|
Rotation
|
The rotation of the point, in degrees.This
property was changed to return an error if the symbol contains a bitmap
since such symbols cannot be rotated.
|
|
Symbol
|
The symbol to be used as the point attribute.
This property was changed so that if the specified symbol contains bitmaps,
and the current rotation angle is non-zero, the symbol will be set, and
the rotation angle will be set to zero.
|