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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:22:57+00:00 2026-06-13T17:22:57+00:00

According to the documention a marker is optional with an infoWindow, so how is

  • 0

According to the documention a marker is optional with an infoWindow, so how is this achieved please? I have tried infowindow.open(map) and infowindow.open(map,null) but both produce nothing.

  • 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-13T17:22:58+00:00Added an answer on June 13, 2026 at 5:22 pm

    infowindow.open(map) makes no sense since you need to specify the position where the infowindow should open, also it has a tapered stem which specifies the location where it should point.

    According to the documentation of Infowindows- InfoWindows may be attached to either Marker objects (in which case their position is based on the marker’s location) or on the map itself at a specified LatLng.

    So if you donot want the marker to open the infowindow, use the map click event-

    var iwindow= new google.maps.InfoWindow;
        google.maps.event.addListener(map,'click',function(event)
        {
             iwindow.setContent(event.latLng.lat()+","+event.latLng.lng());
             iwindow.open(map,this); 
             iwindow.open(map,this);
        });
    

    And to close a InfowWindow- infowindow.setMap(null);

    Hope that cleared your doubts.

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

Sidebar

Related Questions

Calling setFocus(null) on the ItemizedOverlay does not 'unfocus' current marker. According to the documentation:
According to this documention , it seems as if Moonshado will automatically route any
I have written code ORM::factory('cds')->find_all(1, 2); It is returning all row . But according
I have built a simple map application with a single marker over my office.
According to Apple documentation and other documentation I have read about on disk encryption
According to the documentation for -[UIView setNeedsLayout] : Because this method does not force
i want to show a google maps canvas according to a checkbox selection, but
i have problem with my map. Map was working correctly about 5 months ago.
According to Javadocs, when I used javax.sound.sampledTargetDataLine 's following method: public void open(AudioFormat format,int
According to MySql in this document C.7.9.6. Changes in MySQL Connector/NET 5.0.5 (07 March

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.