ol-cesium
Version:
OpenLayers Cesium integration library
1 lines • 1.06 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="robots" content="index, all"/><title>olcesium animated rotation example</title><link rel="stylesheet" href="../node_modules/ol/ol.css"><style>.cesium-credit-textContainer { display: inline-block; font-size: 50%; line-height: 100%;}</style><script defer="defer" src="commons.732f075a07b3917e2988.js"></script><script defer="defer" src="rotate.7b2a65fdb2329f5cb78a.js"></script></head><body><div id="map2d" style="width:600px;height:400px;float:left;"></div><div><input type="button" value="Reset to North" onclick="control.resetToNorthZenith(function() {console.log('end')})"/></div><div><input type="button" value="Tilt on globe" onclick="control.tiltOnGlobe(0.05)"/></div><div><input type="button" value="Rotate map" onclick="control.rotate(0.05)"/></div><div>Animated rotation a la Google Map.</div><script src="inject_ol_cesium.js"></script></body></html>