Click or drag to resize

MapStyle Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The MapStyle type exposes the following members.

Methods
  NameDescription
Public methodCode exampleClearParameter
Clear the parameter to the Unset state.
Public methodClone
Clones a MapStyle. This allows multiple Maps to be created using the same underlying MapStyle, but with different parameters. Multiple Maps may share a single MapStyle if they are all to be rendered with identical settings.
Public methodStatic memberCreate(Stream)
Create a MapStyle from the given stream.
Public methodStatic memberCreate(String)
Create a MapStyle from the given file.
Public methodStatic memberCreate(Stream, ArrayList, Boolean)
Create a MapStyle from the Chameleon code in the given stream.
Public methodStatic memberCreate(String, ArrayList, Boolean)
Create a style from a file.
Public methodStatic memberCreate(Stream, ArrayList, ArrayList, Boolean)
Create a MapStyle from the Chameleon code in the given stream.
Public methodStatic memberCreate(String, ArrayList, ArrayList, Boolean)
Create a style from a file.
Public methodStatic memberCreateFromBinary
Creates a MapStyle from a file saved in a binary format.
Public methodStatic memberCreateFromEncrypted
Create a MapStyle from the given stream. The stream must contain an encrypted Chameleon script.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodCode exampleGetParameterValue
Gets the value of the specified parameter. The parameter will be set in the Chameleon .CAM file using the PARAMETER %param = 1 syntax.
Public methodCode exampleGetProperty
Gets a Property value by name.
Public methodCode exampleGetPropertyNames
Get names of available properties.
Public methodGetTemplateVariable
Retrieve the value of a named template variable.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleHasParameter
Determines if a specified parameter exists. The parameter will be specified in the Chameleon .CAM file using the PARAMETER %param = 1 syntax.
Public methodSaveToBinary
Save the current style in a binary format.
Public methodCode exampleSetParameter(String, Boolean)
Set a parameter to a boolean value.
Public methodSetParameter(String, Single)
Set a parameter to a (positive) float value. Negative values are not allowed. If the given parameter does not exist, no action will be taken.
Public methodSetTemplateVariable
Assign a value to a named template variable to the MapStyle.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also