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 6846535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:38:04+00:00 2026-05-27T00:38:04+00:00

how can i disable/enable dragging, zooming in a ‘map’ object. also how can i

  • 0

how can i disable/enable dragging, zooming in a ‘map’ object. also how can i change the cursor to for example a plus sign and then change it back to default.

I have tried these but doesn’t work:

 map.google.maps.MapOptions.disableDoubleClickZoom = true;
map.google.maps.MapOptions.draggable = false;
  • 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-05-27T00:38:05+00:00Added an answer on May 27, 2026 at 12:38 am

    You have two options how to set map options:

    map = new google.maps.Map({ draggable : false }); // upon initialization
    map.setOptions({ draggable : false }); // or in runtime
    
    • to disable the zoom you may try to use minZoom and maxZoom options (set them to the same value as zoom option), or you may try to set zoomControl to false,

    • to change the cursor which is displayed over the map use draggableCursor option, i.e. map.setOptions({ draggableCursor: 'crosshair' });. To change back to default just set it to null: map.setOptions({ draggableCursor: null });.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see that you can enable/disable using the EnableWindow method, but how do I
I have a screen where you can enable/disable modules for my Android application. For
plz guide me how I can enable or disable asp.net validation controls using jQuery
can any one tell me how can we enable/ disable button by radio button
I know that rsync can enable / disable the ssh encryption protocol during the
How can I enable/disable an asp.net form/controls selectively or entirely from code-behind? The following
How can I enable/disable navigationItem.rightBarButton item? I am calling the following code at -viewDidLoad
I want to launch mobile network settings screen, so that user can enable/disable 3g
Which method can I call to enable/disable the possibility of select rows in a
In C Programming, We can enable/disable loop optimization using #pragma preprocessor directive. In which

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.