IDBConfigWriterAddUpdateOSMLayer Method |
Adds a new OSM layer to the system, or updates an existing layer.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxint AddUpdateOSMLayer(
string mapConfiguration,
int layerId,
string name,
string[] url,
bool sphericalMercator,
bool showImageCheckBox,
bool visible,
string copyright,
int numZoomLevels
)
Function AddUpdateOSMLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
url As String(),
sphericalMercator As Boolean,
showImageCheckBox As Boolean,
visible As Boolean,
copyright As String,
numZoomLevels 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 - url
- Type: SystemString
URL - sphericalMercator
- Type: SystemBoolean
Spherical Mercator? - showImageCheckBox
- Type: SystemBoolean
Show Image Checkbox? - visible
- Type: SystemBoolean
Visible? - copyright
- Type: SystemString
Copyright Text - numZoomLevels
- Type: SystemInt32
Number of Zoom Levels
Return Value
Type:
Int32Number of Rows Affected.
See Also