Skip to main content

regionChanged

Type​

message

Summary​

Sent when the map region changes

Syntax​

regionChanged

Description​

The regionChanged message is sent when the map region is changed by scrolling / zooming with the mouse or touches.

Examples​

on regionChanged
UpdateCoordinateDisplay the centerCoordinates of the target
end regionChanged

command UpdateCoordinateDisplay pCenter
put item 1 of pCenter into field "latitude"
put item 2 of pCenter into field "longitude"
end UpdateCoordinateDisplay

Compatibility and Support​

OS

mac

ios

android

web

Platforms

desktop

mobile