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.
- 演進式架構(原書第2版)
- Docker and Kubernetes for Java Developers
- 程序員數學:用Python學透線性代數和微積分
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- Windows Presentation Foundation Development Cookbook
- 深入淺出DPDK
- JavaScript動態網頁開發詳解
- Python數據可視化之Matplotlib與Pyecharts實戰
- 深入分布式緩存:從原理到實踐
- Spring+Spring MVC+MyBatis從零開始學
- Getting Started with Polymer
- 3ds Max印象 電視欄目包裝動畫與特效制作
- 從0到1:HTML5 Canvas動畫開發
- Oracle 12c從入門到精通(視頻教學超值版)
- Qt 4開發實踐