diff --git a/examples_src/custom-controls.css b/examples_src/custom-controls.css new file mode 100644 index 0000000000..0742513f03 --- /dev/null +++ b/examples_src/custom-controls.css @@ -0,0 +1,7 @@ +.rotate-north { + top: 65px; + left: .5em; +} +.ol-touch .rotate-north { + top: 80px; +} diff --git a/examples_src/custom-controls.html b/examples_src/custom-controls.html index 5e5cfb4050..5bb376751c 100644 --- a/examples_src/custom-controls.html +++ b/examples_src/custom-controls.html @@ -1,64 +1,13 @@ - - -
- - - - - - - - -This example shows how to create custom controls.
-- This example creates a "rotate to north" button. - See the custom-controls.js - source to see how this is done. -
-