Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SnappingOptions

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

distance

distance: number

Snapping distance for snapping in pixels.

Read more...

enabled

enabled: boolean

Global configuration to turn snapping on or off.

Read more...

featureEnabled

featureEnabled: boolean

Global configuration option to turn feature snapping on or off.

Read more...

featureSources

List of sources for feature snapping.

Read more...

initialized

initialized: boolean

selfEnabled

selfEnabled: boolean

Global configuration option to turn self snapping (within one feature while either drawing or reshaping) on or off.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns SnappingOptions

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns SnappingOptions

  • Parameters

    Returns SnappingOptions

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc