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: