Limit Map to Two Finger Panning This sample shows how to limit the map drag functionality such that the user is only able to drag the map when using two fingers. This is useful when using the map API inside of mobile apps where the user is likely to scroll the page using a single finger.

Adding several new lines so that the page can be scrolled.