Geoportal SDK 2D/3D API Reference

Namespace: CenterChangedEvent

Gp.CenterChangedEvent

Common 2D/3D event

Center Changed Event. Triggered when the map's center has changed.

One can listen to this event with Gp.Map.listen() method

Properties:
Name Type Description
oldCenter Gp.Center

old center coordinates

newCenter Gp.Center

new center coordinates