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

  • Home
  • SEARCH
  • 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 8593659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:02:35+00:00 2026-06-12T00:02:35+00:00

If I have 100 markers on map and I want to do something with

  • 0

If I have 100 markers on map and I want to do something with only 15 of them is there any way to implement this by using CTRL + click on marker or standard cursor drag selection?

  • 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-12T00:02:37+00:00Added an answer on June 12, 2026 at 12:02 am

    Ctrl+click is possible. Add a click event to the marker, and then in the event handler test if the CTRL key was pressed. If so, add the marker to an array that you can then do something with later.

    var markers = [];
    google.maps.event.addListener(marker, 'click', function (event) {
      if (event.ctrlKey) {
        markers.push(marker);
        // some more code to change icon, add marker name to list, etc 
        //   so user knows marker has been selected
      }
    });
    

    There are some issues documented using this approach, but it has worked for me every time. Just make sure to test in multiple browsers.

    See this Stack Overflow question for a drag-box-to-select-markers implementation.

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

Sidebar

Related Questions

I have 100 threads. I want to run 10 thread before 10 another threads
I have 100 web servers and noticed that some of them have request filtering
I love the IDLE. However, sometimes I have 100-200 line scripts and I want
I have around 100 models, from MCMCglmm, that give output similar to this: >
I have this simple hello world version of a google map api javascript v3
I'm using Twitter Bootstrap, and have a Google map. Images on the map, such
Possible Duplicate: How to put this code in v3 instead v2 map I have
I am using http://code.google.com/p/jquery-ui-map/ HTML: <div id=map_canvas style=width: 100%; height:400px; latitude=123456 longitude=123456>Loading Map</div> jQuery
I have 100 records in which i can select top 10 using the TOP
I have two locations (markers) to display on a google map, one is a

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.