diff --git a/examples/side-by-side.html b/examples/side-by-side.html index d113c5ea8d..e0f11978c8 100644 --- a/examples/side-by-side.html +++ b/examples/side-by-side.html @@ -1,84 +1,82 @@ - + - + - - + + + + Side-by-side example -

Side-by-side example

-
Side-by-side DOM, WebGL and Canvas sync'ed maps.
- - - - - - - - - - - - - - - - -
DOMWebGLCanvas
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Pan:drag, arrow keys
Zoom:double-click, Shift+double-click, mouse wheel, +/- keys; Shift+drag
Rotate:Alt+Shift+drag, r to reset
Brightness/contrast:b/B/c/C keys (WebGL only)
Hue/saturation:h/H/s/S keys (WebGL only)
Opacity:o/O keys
Visibility:v/V keys
Animations:j/l/m/x/L/M/X keys
Reset0 key
-

Notes: The two maps share the same center, resolution, rotation and layers.

-
-

See the - side-by-side.js source to - see how this is done.

+ + -
side-by-side, webgl, dom, sync, object
+ +
+ +
+
+

Canvas

+
+ +
+
+

WebGL

+
+ +
+
+

DOM

+
+ +
+
+ +
+ +
+

Side-by-side example

+

The two maps share the same center, resolution, rotation and layers.

+
+

See the side-by-side.js source to see how this is done.

+
+
side-by-side, canvas, webgl, dom, sync, object
+
+ +
+

Controls

+
+
Pan
+
drag, arrow keys
+
Zoom
+
double-click, Shift+double-click, mouse wheel, +/- keys; Shift+drag
+
Rotate
+
Alt+Shift+drag, r to reset
+
Brightness/contrast
+
b/B/c/C keys (WebGL only)
+
Hue/saturation
+
h/H/s/S keys (WebGL only)
+
Opacity
+
o/O keys
+
Visibility
+
v/V keys
+
Animations
+
j/l/m/x/L/M/X keys
+
Reset
+
0 key
+
+
+ +
+ +