From 0cc4329747ba32360a5e44ad5f36350c38cee466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 5 Mar 2012 11:50:53 +0100 Subject: [PATCH] Interactions: Add a draggable map demo. Custom containment logic still needs some improvements. --- demos/draggable/index.html | 1 + demos/draggable/map.html | 73 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 demos/draggable/map.html diff --git a/demos/draggable/index.html b/demos/draggable/index.html index 0beda8e72..1c57161fa 100644 --- a/demos/draggable/index.html +++ b/demos/draggable/index.html @@ -21,6 +21,7 @@
  • Drag handle
  • Cursor style
  • Draggable + Sortable
  • +
  • Draggable Map
  • diff --git a/demos/draggable/map.html b/demos/draggable/map.html new file mode 100644 index 000000000..ba01bbcbe --- /dev/null +++ b/demos/draggable/map.html @@ -0,0 +1,73 @@ + + + + + + jQuery UI Draggable - Draggable Map + + + + + + + + + + + + +
    + +
    + +
    + +
    + + + +
    +

    Drag the map around inside the viewport. Works with touch devices.

    +
    + + +