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
19
votes
3 answers

google maps v3 adding an info window to a circle

Is there a way to add a infoWindow to a circle created by google.maps.Circle something like this var circ = new google.maps.Circle({ center:latlng, clickable:false, fillColor:colors[count], …
trs
  • 2,454
  • 13
  • 42
  • 61
18
votes
4 answers

Add an Image from url into custom InfoWindow google maps v2

I'm am working in an android app. The user make a search at google maps for restaurants. In google map display markers for all of his neighbor's restaurant. If he tap at a marker it show up a custom InfoWindow. My problem is that I can't load the…
Mixalis
  • 309
  • 1
  • 3
  • 12
18
votes
2 answers

Android Google Map v2 - Starting activity when clicking on marker infoWindow

I have seen that people are finding a lot of difficulties with this specific task and I am in need of help as well. I have successfully created Markers on a Map using the default code that Google has provided. But now I want to be able to click on…
18
votes
1 answer

How to create multiple infowindow in google map api

I create 3 markers in the map whose data comes from a json. but when I click on a marker and try to open the Info window only the last marker will response correctly.. please help me.... this the code....
user2261785
17
votes
4 answers

Remove right and bottom margin on infowindows

I'm playing around with the google InfoWindow. And almost everything is perfect. I'm Just missing something on the windows. I always have a right and bottom white space. I don't mind that much for the bottom one but I'd like to get rid of the right…
bl0b
  • 926
  • 3
  • 13
  • 30
17
votes
1 answer

Difference between getInfoWindow() and getInfoContents() in Googlemaps v2 for Android

Two questions: Whats the difference between public abstract View getInfoWindow (Marker marker) and public abstract View getInfoContents (Marker marker) . What is the use of getInfoContents() . Google map blog says:(getInfoWindow()) allows you…
Basavaraj Hampali
  • 3,905
  • 1
  • 19
  • 22
17
votes
3 answers

Dynamic contents in Maps V2 InfoWindow

I want to show an InfoWindow on markers in a Maps V2 fragment. Thing is, I want to show BitMaps that are dynamically loaded from the web with Universal Image Downloader. This is my InfoWindowAdapter: class MyInfoWindowAdapter implements…
fweigl
  • 21,278
  • 20
  • 114
  • 205
17
votes
2 answers

Google Maps InfoWindow Z-Index

Is it possible for an InfoWindow to popup over an element which has a higher Z-Index than the google map? So lets say the google map has a z-index of Zero. The element has a z-index of 100. Clicking a marker displays an InfoWindow in the same…
TheLegendaryCopyCoder
  • 1,658
  • 3
  • 25
  • 46
17
votes
2 answers

Google Maps Doesn't Show Zoom Controls

I am using gmaps.js plugin http://hpneo.github.com/gmaps/ The Sliding Zoom Control and the InfoWindow don't show up and have some issues when they display. Link: http://bakasura.in/startupsradar/index.html // JavaScript…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
16
votes
5 answers

Get Google Maps v3 to resize height of InfoWindow

When I click a marker and the InfoWindow appears, the height does not adjust if the length of the content is longer that the InfoWindow default height (90px). I am using text-only, no images. I have tried maxWidth. I have checked for inherited…
EdLerner
  • 161
  • 1
  • 1
  • 3
15
votes
2 answers

Close info window of a marker programmatically google maps iOS

I know it's easy in the java version of Google Maps but I can't figure out how to get the info window to close in the objective C version of the SDK. I'm using this method: -(void) mapView:(GMSMapView *)mapView …
CSStudent
  • 425
  • 1
  • 6
  • 14
15
votes
3 answers

Open InfoWindow for each polygon google maps V3

Hope someone can help me with this issue. I'm trying to open an info windows on click for each polygon that my users created. I used the same code for a marker and works well but i couldn't make it work for each polygon. Any thoughts on how to…
user1766303
  • 165
  • 1
  • 1
  • 5
15
votes
3 answers

change content infowindow maps v3

I am trying to make it possible to change the content that shows up inside a DIV that is the content of an infowindow. I have been able to change the content from Hello to YO inside the infowindow. The problem is when I close the infowindow and…
Tommy
  • 359
  • 1
  • 3
  • 16
14
votes
3 answers

AngularJS ng-include inside of Google Maps InfoWindow?

I'm trying to include a template file views/infowindow.html as the content of my InfoWindow from service I wrote to initiate the google maps api: for ( var count = locations.length, i = 0; i < count; i++ ) { var latLng = locations[i], marker…
Jakob Jingleheimer
  • 30,952
  • 27
  • 76
  • 126
14
votes
6 answers

Trigger event with infoWindow or InfoBox on click Google Map API V3

I want to know how to trigger an event when I click on an infoWindow using Google Maps API v3. In this example, when I click on a marker, an info window shows up with a unique message, based on which marker I clicked. I want to also be able to…
erin
  • 1,130
  • 3
  • 17
  • 28
1
2
3
76 77