In the administration part of my software, the user writes the notification and selects the position and range in a map. When he press "send", the notification has to be sent to the devices in the selected zone.

In the API reference there is a getNearestZone method, but I don't know how to use it.