initLocateElements Method

Helper method for tools that need to locate existing elements. Initializes ElementLocateManager, changes the view cursor to locate, enables display of the locate circle, and sets the appropriate coordinate lock overrides.

initLocateElements(enableLocate: boolean = true, enableSnap?: false | true, cursor?: string, coordLockOvr?: CoordinateLockOverrides): void

see InteractiveTool.changeLocateState

Parameter Type Description
enableLocate boolean  
enableSnap false | true  
cursor string  
coordLockOvr CoordinateLockOverrides  

Defined in

Last Updated: 13 October, 2019