Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoreMapGraphic

The CoreMapGraphic class is an implementation of disposible interface MapGraphic.

example



var geoJSON = { type: "Feature", geometry: { type: 'LineString', coordinates: [[-82.441, 29.200], [-82.441, 29.535]] }, properties: { } };
var mapGraphicOptions = { geometry: geoJSON.geometry, feature: geoJSON, shape: 'LineString' };
var mapGraphic = new CoreMapGraphic(graphicOptions);

Hierarchy

  • CoreMapGraphic

Implements

Index

Constructors

constructor

  • Parameters

    Returns CoreMapGraphic

  • Parameters

    • options: MapGraphicOptions

    Returns CoreMapGraphic

  • Parameters

    • options: MapGraphicOptions

    Returns CoreMapGraphic

Properties

Private _bucketId

_bucketId: any

Private _data

_data: any

Private _dispose

_dispose: any

Private _edited

_edited: any

Private _feature

_feature: any

Private _geometry

_geometry: any

Private _id

_id: any

Private _shape

_shape: any

edited

  • get edited(): boolean
  • set edited(edited: boolean): void
  • Returns boolean

  • Parameters

    • edited: boolean

    Returns void

feature

  • get feature(): IFeature
  • set feature(feature: IFeature): void
  • Returns IFeature

  • Parameters

    • feature: IFeature

    Returns void

geometry

  • get geometry(): GeometryObject
  • set geometry(geo: GeometryObject): void
  • Returns GeometryObject

  • Parameters

    • geo: GeometryObject

    Returns void

graphicOptions

  • get graphicOptions(): GraphicOptions
  • set graphicOptions(options: GraphicOptions): void
  • Returns GraphicOptions

  • Parameters

    • options: GraphicOptions

    Returns void

id

  • get id(): string
  • set id(id: string): void
  • Returns string

  • Parameters

    • id: string

    Returns void

shape

  • get shape(): string
  • set shape(shape: string): void
  • Returns string

  • Parameters

    • shape: string

    Returns void

Methods

dispose

  • dispose(): void
  • dispose(): void
  • dispose(): void
  • Returns void

  • Returns void

  • Returns void

Object literals

Private _graphicOptions

_graphicOptions: object

color

color: string = "#FF0000"

dashArray

dashArray: string = "1"

fillColor

fillColor: string = "#FF0000"

radius

radius: number = 8

weight

weight: number = 2