Class defaultStyle

Hierarchy

  • defaultStyle

Constructors

  • Parameters

    • options: any

    Returns defaultStyle

Properties

StylesList: {
    Circle: Style;
    GeometryCollection: Style;
    MultiLineString: Style;
    MultiPoint: Style;
    MultiPolygon: Style;
    bufferStyle: Style;
    cross: Style;
    highlightStyle: Style;
    overlapStyle: Style;
    point: Style;
    polygon: Style;
    polyline: Style;
    square: Style;
    star: Style;
    triangle: Style;
    x: Style;
} = ...

Type declaration

  • Circle: Style
  • GeometryCollection: Style
  • MultiLineString: Style
  • MultiPoint: Style
  • MultiPolygon: Style
  • bufferStyle: Style
  • cross: Style
  • highlightStyle: Style
  • overlapStyle: Style
  • point: Style
  • polygon: Style
  • polyline: Style
  • square: Style
  • star: Style
  • triangle: Style
  • x: Style
option: {
    overlapStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
    };
} = ...

Type declaration

  • overlapStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
overlayStyle: ((feature, Geometrics) => any)

Type declaration

    • (feature, Geometrics): any
    • Parameters

      • feature: any
      • Geometrics: any

      Returns any

StylesList: {
    Circle: Style;
    EditPoint: Style;
    GeometryCollection: Style;
    MultiLineString: Style;
    MultiPoint: Style;
    MultiPolygon: Style;
    bufferStyle: Style;
    cross: Style;
    editPolygon: Style[];
    highlightStyle: Style;
    overlapStyle: Style;
    point: Style;
    polygon: Style;
    polyline: Style;
    square: Style;
    star: Style;
    tipStyle: Style;
    triangle: Style;
    x: Style;
}

Type declaration

  • Circle: Style
  • EditPoint: Style
  • GeometryCollection: Style
  • MultiLineString: Style
  • MultiPoint: Style
  • MultiPolygon: Style
  • bufferStyle: Style
  • cross: Style
  • editPolygon: Style[]
  • highlightStyle: Style
  • overlapStyle: Style
  • point: Style
  • polygon: Style
  • polyline: Style
  • square: Style
  • star: Style
  • tipStyle: Style
  • triangle: Style
  • x: Style
fill: Fill = ...
image: CircleStyle = ...
option: {
    LineString: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    };
    Point: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        radius: number;
        scale: number;
        strokecolor: string;
        strokewidth: number;
        text: string;
    };
    Polygon: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    };
    bufferStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    };
    overlapStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
    };
}

Type declaration

  • LineString: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • Point: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        radius: number;
        scale: number;
        strokecolor: string;
        strokewidth: number;
        text: string;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • radius: number
    • scale: number
    • strokecolor: string
    • strokewidth: number
    • text: string
  • Polygon: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • bufferStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • overlapStyle: {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
    }
    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
stroke: Stroke = ...

Methods

  • Parameters

    • type: any

    Returns any

  • Parameters

    • opt: any

    Returns Style

  • Returns {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokelineCap: string;
        strokelineDash: any;
        strokelineJoin: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }

    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokelineCap: string
    • strokelineDash: any
    • strokelineJoin: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • Returns {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }

    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • Returns {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        radius: number;
        scale: number;
        strokecolor: string;
        strokewidth: number;
        text: string;
    }

    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • radius: number
    • scale: number
    • strokecolor: string
    • strokewidth: number
    • text: string
  • Returns {
        Font: string;
        FontColor: string;
        FontStrokeColor: string;
        FontStrokeWidth: number;
        FontoffsetX: number;
        FontoffsetY: number;
        fillcolor: string;
        strokecolor: string;
        strokeradius: number;
        strokewidth: number;
        text: string;
    }

    • Font: string
    • FontColor: string
    • FontStrokeColor: string
    • FontStrokeWidth: number
    • FontoffsetX: number
    • FontoffsetY: number
    • fillcolor: string
    • strokecolor: string
    • strokeradius: number
    • strokewidth: number
    • text: string
  • Parameters

    • ff: any

    Returns Style

  • Returns Style[]

  • Parameters

    • feature: any
    • zoom: any
    • autoPointSize: any

    Returns void

  • Parameters

    • opt: any

    Returns Style

  • Parameters

    • opt: any

    Returns Style

  • Parameters

    • opt: any

    Returns Style

  • Parameters

    • opt: any

    Returns Style

  • Returns string

  • Parameters

    • _drawtype: any
    • option: any

    Returns any

  • Returns Style

  • Parameters

    • feature: any
    • resolution: any

    Returns Style[]

  • Parameters

    • feature: any

    Returns any

Generated using TypeDoc