This example shows how to use a dynamic ArcGIS REST MapService. This source type supports Map and Image Services. For dyamic ArcGIS services.
这个例子用来展示如何使用动态的ArcGIS REST MapService,对于动态的ArcGIS服务来说,数据源的类型支持地图和图像服务。
代码:
这个例子用来展示如何使用动态的ArcGIS REST MapService,对于动态的ArcGIS服务来说,数据源的类型支持地图和图像服务。
代码:
<!DOCTYPE html>
<html>
<head>
<title>Image ArcGIS MapServer</title>
<link rel="stylesheet" href="https://openlayers.org/en/v4.2.0/css/ol.css" type="text/css">
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classLi