Using the layer classes
You can use the various layer classes in the API for JavaScript to reference map services hosted by ArcGIS Server and other map servers. All layer classes inherit from the Layer base class. The Layer class has no constructor so you can't create an actual object instance from this class. This base class simply defines properties, methods, and events that must exist in all classes that inherit from it:

As indicated in the preceding figure, DynamicMapServiceLayer, TiledMapServiceLayer, and GraphicsLayer all inherit directly from the Layer class. (Note that there are several other layers that inherit from Layer, but many of those are for special use cases, so our diagram shows only these more commonly-used classes.)
DynamicMapServiceLayer and TiledMapserviceLayer also act as base classes. DynamicMapServiceLayer is the base class for dynamic map services while TiledMapServiceLayer is the base class for tiled map services. Layer, DynamicMapServiceLayer, and TiledMapServiceLayer are all base classes meaning that you can't specifically create an object from these classes in your application.
- Learning Apex Programming
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Xcode 7 Essentials(Second Edition)
- Java系統化項目開發教程
- 利用Python進行數據分析
- RESTful Java Web Services(Second Edition)
- 從0到1:HTML5 Canvas動畫開發
- Visual C++從入門到精通(第2版)
- Selenium WebDriver Practical Guide
- 從零開始學算法:基于Python
- RESTful Web API Design with Node.js(Second Edition)
- HTML5 Canvas核心技術:圖形、動畫與游戲開發
- Spring Boot 2+Thymeleaf企業應用實戰
- Serverless工程實踐:從入門到進階
- Learning Puppet