IDBConfigWriterAddUpdateGeognoSISTileServiceLayer Method |
Add a new GeognoSIS Tile Service Layer to the system. or update an existing one.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxint AddUpdateGeognoSISTileServiceLayer(
string mapConfiguration,
int layerId,
string name,
bool visible,
string url,
string copyright,
string layer,
bool isBaseLayer,
bool includeInLayerTree,
int projectionID,
int imageFormatID,
double factor,
int increment,
int initialSize,
double originX,
double originY,
int tileWidth,
int tileHeight,
int transitionEffect,
int buffer
)
Function AddUpdateGeognoSISTileServiceLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
visible As Boolean,
url As String,
copyright As String,
layer As String,
isBaseLayer As Boolean,
includeInLayerTree As Boolean,
projectionID As Integer,
imageFormatID As Integer,
factor As Double,
increment As Integer,
initialSize As Integer,
originX As Double,
originY As Double,
tileWidth As Integer,
tileHeight As Integer,
transitionEffect As Integer,
buffer 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 - visible
- Type: SystemBoolean
Is Visible? - url
- Type: SystemString
Data Source URl - copyright
- Type: SystemString
Copyright Text - layer
- Type: SystemString
Layer name from the service - isBaseLayer
- Type: SystemBoolean
Will this be a base layer? - includeInLayerTree
- Type: SystemBoolean
Include in the Layer Tree - projectionID
- Type: SystemInt32
Projection ID - imageFormatID
- Type: SystemInt32
Image Format ID - factor
- Type: SystemDouble
Scale Factor - increment
- Type: SystemInt32
Increment - initialSize
- Type: SystemInt32
Initial Size - originX
- Type: SystemDouble
X Origin - originY
- Type: SystemDouble
Y Origin - tileWidth
- Type: SystemInt32
Tile Width - tileHeight
- Type: SystemInt32
Tile Height - transitionEffect
- Type: SystemInt32
Transition Effect - buffer
- Type: SystemInt32
Buffer
Return Value
Type:
Int32Number of Rows Affected.
See Also