Update side-by-side.html

This commit is contained in:
mike-000
2019-07-26 14:02:37 +01:00
committed by GitHub
parent ac9b435a74
commit 8034b72231
+10 -7
View File
@@ -1,16 +1,19 @@
--- ---
layout: example.html layout: example.html
title: Shared Views title: Shared Views
shortdesc: Two maps with different renderers share view properties shortdesc: Two maps share view properties
docs: > docs: >
Two maps (one with the Canvas renderer, one with the WebGL renderer) share the same center, resolution, rotation and layers. Two maps (one Road, one Aerial) share the same center, resolution and rotation.
tags: "side-by-side, canvas, webgl" tags: "side-by-side, bing, bing-maps"
cloak:
- key: As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5
value: Your Bing Maps Key from http://www.bingmapsportal.com/ here
--- ---
<div class="half"> <div class="half">
<h4>Canvas</h4> <h4>Road</h4>
<div id="canvasMap" class="map"></div> <div id="roadMap" class="map"></div>
</div> </div>
<div class="half"> <div class="half">
<h4>WebGL</h4> <h4>Aerial</h4>
<div id="webglMap" class="map"></div> <div id="aerialMap" class="map"></div>
</div> </div>