From 7797fc5b72e3a945703346d3ffc33d357d8df58f Mon Sep 17 00:00:00 2001 From: elemoine Date: Wed, 26 Sep 2012 01:56:05 -0700 Subject: [PATCH] Updated Interaction (markdown) --- Interaction.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Interaction.md b/Interaction.md index 2bf1477..04701cf 100644 --- a/Interaction.md +++ b/Interaction.md @@ -28,7 +28,7 @@ map.moveTo(center, map.getResolution() * scale, options); ``` -(Alt) Drag Rotate: +## (Alt) Drag Rotate: * No rotation constraint while rotating * Apply rotation constraint when releasing mouse to determine the final angle @@ -44,7 +44,7 @@ map.rotate(angle, options); ``` -Mouse Wheel Zoom: +## Mouse Wheel Zoom: * Apply resolution constraint as the user scrolls * Mouse wheel handler: @@ -52,7 +52,4 @@ Mouse Wheel Zoom: var options = {constrain: true, animate: false}; map.zoomTo(center, map.getResolution() * scale, options); ``` - ``` - -Map API: