From 74a332d1665b4e46568e9547cea64499c759dd51 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 7 Aug 2012 14:56:21 +0200 Subject: [PATCH] Add side-by-side demo notes --- demos/side-by-side/index.html.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/side-by-side/index.html.in b/demos/side-by-side/index.html.in index edb9bcc971..4c8f1a150a 100644 --- a/demos/side-by-side/index.html.in +++ b/demos/side-by-side/index.html.in @@ -61,6 +61,9 @@ 0 key +

Notes: the two maps share the same center, resolution, rotation and layers. Currently the DOM map does not support rotation.

+

Console tips: If you want to play around with the API in the console, first make sure that you're using the whitespace only version of this demo, then open a console and experiment with the domMap, webglMap and layer variables in the console. The source code is in side-by-side.js.

+

Known bugs: Dragging is captured on the entire page, not just on the maps. When the map is rotated, panning on the WebGL map doesn't work as expected.