Questions tagged [infowindow]

The InfoWindow is a standard class within the Google Maps JavaScript API; it is an overlay that displays content in a floating window above the map and is anchored at a specified location on the map.

The InfoWindow is a standard class within the Google Maps JavaScript API; it is an overlay that displays content in a floating window above the map. An info window looks like a comic-book word balloon; it has a content area, a tapered stem, and the tip of the stem is anchored at a specified location on the map.

Questions that are assigned to this tag should deal directly with InfoWindow creation, placing content within an InfoWindow, styling the content within an InfoWindow, displaying or hiding InfoWindows, or managing InfoWindows on a Google Map.

Google has published some very good material for those that want to learn more about InfoWindows:

1150 questions
199
votes
7 answers

Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)

I am trying to a make custom InfoWindow after a click on a marker with the new Google Maps API v2. I want it to look like in the original maps application by Google. Like this: When I have ImageButton inside, its not working - the entire InfoWindow…
user1943012
  • 2,043
  • 3
  • 13
  • 7
97
votes
5 answers

Google Maps API Multiple Markers with Infowindows

I am trying to add multiple markers each with its own infowindow that comes up when clicked on. I am having trouble with getting the infowindows coming up, when I try it either shows up only one marker without an infowindow. Thanks, let me know if…
76
votes
2 answers

How do I remove default markers?

I'm using Google Map API V3 and I noticed there are a lot of markers which are here even though I don't need them. For examples, some schools or other places with InfoWindows appearing when clicking on them. Is there any way I can remove them or is…
Weier
  • 1,339
  • 1
  • 10
  • 20
54
votes
7 answers

Disable point-of-interest information window using Google Maps API v3

I have a custom map with an information bubble and custom markers. When I zoom into points of interest such as parks and universities appear and when I click an information window opens. How do I disable the info window? My code is as follows: var…
Brendon
  • 673
  • 1
  • 8
  • 19
46
votes
5 answers

Check if infowindow is opened Google Maps v3

Please, I need a help. I want to check if my infowindow is opened. For example: if (infowindow.isOpened) { doSomething() } or if (infowindow.close) { doAnotherthing(); } I dont have any idea, how to do this
Fred Vicentin
  • 967
  • 3
  • 16
  • 33
45
votes
2 answers

custom info window adapter with custom data in map v2

I want to make custom info window adapter in map v2 in android as like below. I have seen below link but doesn't get more. 1,2,3, below is my content layout file.
Girish Bhutiya
  • 3,111
  • 5
  • 31
  • 50
42
votes
1 answer

Opening InfoWindow automatically when adding marker Google Maps v2 Android

Is there a way to open the infowindow automatically when we add a marker? Using this code to add the marker but infowindow only opens when clicking the marker: myMap.addMarker(new MarkerOptions() .position(latLng) …
bond
  • 716
  • 1
  • 8
  • 21
38
votes
2 answers

Marker content (infoWindow) Google Maps

I'm trying to add infoWindow's to multiple markers on a Google Map. The closest I have come is to get an infoWindow to display the last address you can see in the array, on all markers. The bit of code I have pasted below does not work, I get an…
DarrylGodden
  • 1,526
  • 5
  • 25
  • 44
28
votes
6 answers

Google Map Infowindow not showing properly

The infowindow is not showing properly on my map when clicking on a marker. The website is here. You'll also notice the map control isn't properly displayed either. var map; var locations = ; …
Jjj
  • 762
  • 3
  • 8
  • 18
28
votes
2 answers

Android Google Map API V2 : Open Custom Info Window on Right Side of Marker

I have Integrated Google MAP API V2 for Android. I want to have a Custom Info Window at Onclick of My Marker. Up to that it is fine. i have integrate it. What I want : I want to Show my Custom Info Window on Right Side of Marker Instead of Top of…
Bhavesh Patadiya
  • 25,740
  • 15
  • 81
  • 107
27
votes
8 answers

How to show a Info window in iOS Google maps without tapping on Marker?

I am new to iOS development. This is regarding Marker info window in Google Maps iOS SDK. I understand, we can create a marker with info window using GMSMarkerOption. GMSMarkerOption *myLocationOption = [GMSMarkerOption alloc]; myLocationOption…
albeee
  • 1,452
  • 1
  • 12
  • 20
26
votes
3 answers

Create a custom info window in google maps V2

I'm trying to make a custom window that look like that (for map objects). But instead of the project following and follower I wanna place an image, but I can't figure out how to make one, any refferes? thanks in advance.
crazyPixel
  • 2,301
  • 5
  • 24
  • 48
23
votes
1 answer

Adding event to element inside Google Maps API InfoWindow

I want to put a form with input field and submit button inside a Google Maps API (v3) InfoWindow. When submitted I would like to call a function that initiates the directions service using the address entered into the input field. Here's my code…
22
votes
8 answers

openlayers simple mouseover on marker

It sounds so simple but I can't find any newbie tutorial: Could anybody give me a simple example how I create (vektor)markers in OpenLayers that open an infowindow on mouseover and even close it on mouseout? I found parts of this explained but not…
JoergP
  • 1,349
  • 2
  • 13
  • 28
22
votes
2 answers

Preventing Google Maps Move After Displaying Infowindow

I'm trying to display a infowindow on a Google Maps. It displays perfect, when you hover over a marker it loads up a infowindow but the map jumps to fit in the window. I don't want the map to move but rather infowindow set its position according to…
Burak Erdem
  • 19,630
  • 7
  • 36
  • 56
1
2 3
76 77