Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8937733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:28:02+00:00 2026-06-15T10:28:02+00:00

I use the Google Maps Api Version 2 for Android to add a MapFragment

  • 0

I use the Google Maps Api Version 2 for Androidto add a MapFragment to my Application.

This Fragments improves a lot in terms of speed and API usability. Sadly it also allows to rotate the map with a two finger gesture. I want to disable the rotation because this two finger gesture is often recognized instead of the gesture for zooming.

How can I disable the map rotation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:28:03+00:00Added an answer on June 15, 2026 at 10:28 am

    It turned out to be straight forward if you look into the right place in documentation.

    There is a UiSettings class inside a GoogleMap that allows enabling and disabling of gestures.

      SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.maps_fragment);
      GoogleMap map = mapFragment.getMap();
      map.getUiSettings().setRotateGesturesEnabled(false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to use Google Maps JavaScript API v3 in any Android Application. Please some
I had the following HTML page rendering to use the Google Maps API. This
I'm trying to use the new google maps android api v2 and i'm developing
Is there a google maps API for C# to use in an ASP.NET application?
I fixed the problem below by updating the Google maps API version in this
I'm learning the Google Maps API and I was wondering whether I can use
how to use google-maps on API2 to get navigation to specified place i've add
I create application where I use google maps. I get error: 06-20 15:23:51.262: W/System.err(28660):
Borrowing this code from several different tutorials on how to use Google maps on
I am using GWT for google map application. I use Google's gwt-maps.jar for mapping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.