图像矢量图层
ATA:南极洲
此示例使用ol/layer/Vector
`renderMode:'image'。此模式在交互和动画期间导致更快的渲染,但代价是渲染不太准确。
<!DOCTYPE html><html>
<head>
<title>Image Vector Layer</title>
<link rel="stylesheet" href="https://openlayers.org/en/v5.1.3/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.classList,URL"></script>
</head>
<body>
<div id="map" class="map"></div>
<div id="info"> </div>
<script>
import Map from 'ol/Map.js';
import View from 'ol/View.js';
import GeoJSON from