Open this page in the API Guide

MapService.onLoaded Method

Called when the service is loaded.