DBConfigurationBaseUpdateMapSettings Method |
Updates map settings for specified map.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual bool UpdateMapSettings(
string mapConfiguration,
bool kineticPan,
int dpi,
int projection,
int displayProjection,
string proxyHost,
bool defaultMap,
bool allowAnonymousAccess,
int embeddableMapIcon,
MapControl[] updatedMapControls,
string description,
int localKnowledgeId,
int searchByAreaIconId,
int zoomToCoordinateIconId,
AddIn[] updatedAddIns,
bool watermarkEnabled,
int watermarkID,
int reportId,
bool annotationLayerEnabled,
double geolocationResolution,
bool allowInEmbedded
)
Public Overridable Function UpdateMapSettings (
mapConfiguration As String,
kineticPan As Boolean,
dpi As Integer,
projection As Integer,
displayProjection As Integer,
proxyHost As String,
defaultMap As Boolean,
allowAnonymousAccess As Boolean,
embeddableMapIcon As Integer,
updatedMapControls As MapControl(),
description As String,
localKnowledgeId As Integer,
searchByAreaIconId As Integer,
zoomToCoordinateIconId As Integer,
updatedAddIns As AddIn(),
watermarkEnabled As Boolean,
watermarkID As Integer,
reportId As Integer,
annotationLayerEnabled As Boolean,
geolocationResolution As Double,
allowInEmbedded As Boolean
) As Boolean
Parameters
- mapConfiguration
- Type: SystemString
Mao Configuration Name - kineticPan
- Type: SystemBoolean
Use Kinetic Pan - dpi
- Type: SystemInt32
DPI - projection
- Type: SystemInt32
Projection - displayProjection
- Type: SystemInt32
Display Projection - proxyHost
- Type: SystemString
Proxy Host - defaultMap
- Type: SystemBoolean
Is the default map? - allowAnonymousAccess
- Type: SystemBoolean
Allow anonymous access? - embeddableMapIcon
- Type: SystemInt32
Embeddable Map Icon? - updatedMapControls
- Type: Cadcorp.ConfigurationMapControl
Updated map controls - description
- Type: SystemString
Description - localKnowledgeId
- Type: SystemInt32
Local Knowledge ID - searchByAreaIconId
- Type: SystemInt32
Search by Area Icon ID - zoomToCoordinateIconId
- Type: SystemInt32
Zoom to Coordinate Icon ID - updatedAddIns
- Type: Cadcorp.ConfigurationAddIn
Updated add ins - watermarkEnabled
- Type: SystemBoolean
Use Watermark - watermarkID
- Type: SystemInt32
Updated watermark - reportId
- Type: SystemInt32
Updated report - annotationLayerEnabled
- Type: SystemBoolean
[Missing <param name="annotationLayerEnabled"/> documentation for "M:Cadcorp.Configuration.Connectors.DBConfigurationBase.UpdateMapSettings(System.String,System.Boolean,System.Int32,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32,Cadcorp.Configuration.MapControl[],System.String,System.Int32,System.Int32,System.Int32,Cadcorp.Configuration.AddIn[],System.Boolean,System.Int32,System.Int32,System.Boolean,System.Double,System.Boolean)"]
- geolocationResolution
- Type: SystemDouble
Sets the resolution for the geolocation button - allowInEmbedded
- Type: SystemBoolean
Is this map allowed for an embedded map
Return Value
Type:
BooleanBoolean value indicating success.
Implements
IDBConfigWriterUpdateMapSettings(String, Boolean, Int32, Int32, Int32, String, Boolean, Boolean, Int32, MapControl, String, Int32, Int32, Int32, AddIn, Boolean, Int32, Int32, Boolean, Double, Boolean)
See Also