gws.plugin.select_tool.action

The select action.

Source code: gws.plugin.select_tool.action

Module Contents

class gws.plugin.select_tool.action.Config

Bases: gws.base.action.Config

Action for selecting features on the map.

storage: gws.base.storage.Config | None

Storage for saving and loading selections.

tolerance: gws.UomValueStr | None

Click tolerance for feature selection.

class gws.plugin.select_tool.action.Object

Bases: gws.base.action.Object

Action for the feature selection tool.

storage: gws.base.storage.Object | None

Storage for saved selections, if configured.

tolerance: gws.UomValue | None

Click tolerance for feature selection.

configure()
handle_storage(req: gws.WebRequester, p: gws.base.storage.Request) → gws.base.storage.Response

Read or write saved selections.

props(user)
class gws.plugin.select_tool.action.Props

Bases: gws.base.action.Props

storage: gws.base.storage.Props
tolerance: str