DBConfigurationBaseAddUpdateGoogleLayer Method |
Adds a new Google Layer to the system, or updates an existing one.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual int AddUpdateGoogleLayer(
string mapConfiguration,
int layerId,
string name,
bool isBaseLayer,
bool includeInLayerTree,
bool sphericalMercator,
int layerTypeValue
)
Public Overridable Function AddUpdateGoogleLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
isBaseLayer As Boolean,
includeInLayerTree As Boolean,
sphericalMercator As Boolean,
layerTypeValue As Integer
) As Integer
Parameters
- mapConfiguration
- Type: SystemString
Map configuration name. - layerId
- Type: SystemInt32
Layer ID, -1 for a new layer. - name
- Type: SystemString
Layer Name - isBaseLayer
- Type: SystemBoolean
Is this a base layer? - includeInLayerTree
- Type: SystemBoolean
Include in layer tree? - sphericalMercator
- Type: SystemBoolean
Use spherical mercator - layerTypeValue
- Type: SystemInt32
Google Layer Type
Return Value
Type:
Int32Number of Rows Affected.
Implements
IDBConfigWriterAddUpdateGoogleLayer(String, Int32, String, Boolean, Boolean, Boolean, Int32)
See Also