Namespace: camera

geo.event. camera

These events are triggered by the camera when it's internal state is mutated.

Events

geo.event.camera.projection

Triggered after a projection change.

Type:
Properties:
Name Type Description
camera geo.camera

The camera instance.

type string

The projection type, either 'perspective' or 'parallel'.

geo.event.camera.view

Triggered after a general view matrix change (any change in the visible bounds). This is equivalent to the union of pan and zoom.

Type:
Properties:
Name Type Description
camera geo.camera

The camera instance.

geo.event.camera.viewport

Triggered after a viewport change.

Type:
Properties:
Name Type Description
camera geo.camera

The camera instance.

viewport geo.screenSize

The new viewport size.