Class: CadcorpVector

CadcorpVector

new CadcorpVector(geometry, attributesopt, styleopt)

An Open Layers feature. Extends OpenLayers.Feature.Vector
Parameters:
Name Type Attributes Description
geometry OpenLayers.Geometry The geometry that this feature represents.
attributes Object <optional>
An object that will be mapped to the attributes property.
style Object <optional>
A style object.

Methods

getSISStyle() → {String}

Gets a string representation of the style for this feature in SIS format
Returns:
A json string if the style for this feature in SIS format
Type
String