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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:16:11+00:00 2026-06-06T05:16:11+00:00

I need to be able to manually trigger a mouse click and have that

  • 0

I need to be able to manually trigger a mouse click and have that mouse click perform normal actions on Google maps. For instance, I would want to call google.maps.event.trigger(map, "dblclick", event) (where event is a normal mouse event object) and have it zoom in, as that is standard double click behavior.

Calling that exact code does trigger the doubleclick event on the map (verified by adding a listener to the map), but it does not trigger standard actions. My guess is that Google does not internally use those events for their built in actions. Any help would be greatly appreciated.

Edit:

Example case: I want to bind the right-click to perform whatever the current double-click action is.

...
google.maps.event.addListener(map, "rightclick", rightClick);
...

function rightClick(mouseEvent) {
    google.maps.event.trigger(map, "dblclick", mouseEvent);
}

In this case I’d want a right click to zoom in when in the normal mode, to complete a polygon when in polygon draw mode, etc.

  • 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-06T05:16:13+00:00Added an answer on June 6, 2026 at 5:16 am

    Google’s obfuscated source for the JS library reveals that there is no way to trigger the desired functionality programmatically.

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

Sidebar

Related Questions

I have a project that I'm working on and I need to be able
I need to be able to manually select ListBox items in Windows Phone 7.
We have a data model that has some requirements. I would like to find
I have a content type that references multiple nodes, and I need a way
I need to be able to mask an image in my layout to have
I have a need to manually set which part of a Parent/Child association between
I have a small SQL Server database that I need to copy on command
I need to be able to programatically add a google account in android for
Users of the website need to able to store images in their area ,
Need to be able to pull Magento products into an external template. Need to

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.