- Preparing search index...
- The search index is not available
cityworks
Methods
all
- all(): Promise<unknown>
-
Returns Promise<unknown>
createByID
- createByID(createBySids: number[], queryTypes: number[]): Promise<unknown>
-
Parameters
-
createBySids: number[]
-
queryTypes: number[]
Returns Promise<unknown>
disable
- disable(eventLayerId: number): Promise<unknown>
-
Returns Promise<unknown>
enable
- enable(eventLayerId: number): Promise<unknown>
-
Returns Promise<unknown>
filterEventLayersBySearches
- filterEventLayersBySearches(searchIds: number[], eventLayerIds: number[]): Promise<unknown>
-
Parameters
-
searchIds: number[]
-
eventLayerIds: number[]
Returns Promise<unknown>
getAllEventLayers
- getAllEventLayers(includeDisabled?: boolean): Promise<unknown>
-
Parameters
-
includeDisabled: boolean = false
Returns Promise<unknown>
getGISEndpoint
- getGISEndpoint(eventLayerId: any): string
-
Returns string
preferences
- preferences(): Promise<unknown>
-
Returns Promise<unknown>
queryTypes
- queryTypes(): Promise<unknown>
-
Returns Promise<unknown>
styles
- styles(): Promise<unknown>
-
Returns Promise<unknown>
update
- update(eventLayerId: number, enabled: boolean): Promise<unknown>
-
Parameters
-
eventLayerId: number
-
enabled: boolean
Returns Promise<unknown>
updatePreferences
- updatePreferences(element: number, category: boolean, defaultValue: Object): Promise<unknown>
-
Parameters
-
element: number
-
category: boolean
-
defaultValue: Object
Returns Promise<unknown>
A plugin that contains "event layer" methods for a Cityworks install