map.restrictedExtent do what you want? It interacts with other properties, so I would recommend reading the source code where it is used. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.