infowindow

Google Maps: Why should I load my InfoWindow via AJAX?

I stumped upon the following Google example page of loading my map marker InfoWindow using AJAX, instead of preloading the InfoWindow ahead of time. http://gmaps-utility-library-dev.googlecode.com/svn/tags/extinfowindow/1.2/examples/ajaxContent_packed.html However, I don't understand the use case for why someone would want to do this? ...

get a link from the database into the google maps info window

Hi, i've started very enthousiastic with google maps and managed to get the info from my mysql dbase to the map on my site. The problem i'm facing now is that i want to be able to click through from the info window to a page on my site (the link also comes out of the dbase). Here is the standard google api code I'm using now ('mijnlin...

How can I make infowindows resize for tweets in Google Maps v3 with Javascript

Hi, I'm trying to add a few tweets to an infowindow in Google Maps. I get the tweets to display in a div that is the content of my infowindow, but it's the wrong size. I thought by calling 'content_changed' when the marker is clicked, the infowindow would resize - it doesn't. I'm sure this is pretty straightforward, can someone help m...

javascript google maps api - one one infowindow open at a time..

Hey guys, this questions relating to infowindow in the google maps API v3.. Currently I loop this function and place markers.. function addPostCode(zip, html) { geocoder.geocode( { 'address': zip}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry...

Click Event Registered with jQuery Live in Google Map InfoWindow

I was using the technique described here http://stackoverflow.com/questions/2217267/click-event-in-google-map-infowindow-not-caught to dynamically add click event handlers to some of the content added to the Google Map InfoWindow. Works great except in IE. I have content with normal anchor tags and those links work just fine. I have a...

Changing background color in Google Map InfoWindow

I want my InfoWindows in my Google Map implementation to have a black background color. "backgroundColor" is not an available option for InfoWindows. See here. I put a div tag in the content option with a black background and white text. However, that still renders with a white border. Does anyone know a way to get a completely black b...

Google Maps API: positioning, some weird behavior and how to disable a couple of features

I've been working on creating this map for a client, but I feel a little bit in over my head. So far, I've managed to use modx to dynamically create a list of markers for the map, created a custom icon that works successfully and I've got it styled as I'd like it. However, I'm looking for a bit of help about the following: The custom ...

Google Maps API 3 Directions - Adding trip duration and distance to infoWindow

Howdy Gang, I'm so close on this one right now, but can't quite get the result I'm looking for. This is an attempt to pull a series of geolocations - along with a title and text. These are then assigned to markers which are populated on a google map. My ultimate goal is to get the distance and duration of travel between each of the marke...

googlemaps - open streetview centred on marker from link in infowindow

I have a google map with several markers on it and I am wanting to have an html link in each marker info window that when clicked will change the map to streetview centered on that marker. So far I have the map & the links in the infowindows. Clicking the links opens streetview but it is centered on the centre of the map. What must I c...

Google Maps Api v3 custom InfoWindow - "google is not defined" error

hello, trying to create custom infowindows in my application that is based on google maps. next example is one of my base points for development: http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infowindow-custom.html problem is that whatever i use this or some other example, in forefox's firebug i'm getting error ...

Infowindow help on google maps api 3

Having similar problem as others have had on this website where it shows only the last marker's info window info in all markers. Can't seem to solve this with any of the solutions given. Also, the last one of my markers doesn't show an info window at all. <script src="http://www.google.com/jsapi"&gt;&lt;/script&gt; <script type="text/ja...

how to customize the basic infowindow with tabs displayed using GInfoWindowTab on google map

I have the following function to display the infowindow with tabs on google map using GInfoWindowTab ,the default infowindow is displayed with two tabs ,my question is how can i change the size ,background color and styles of the infowindow and can i add videos into one of the tab in infowindow. function createMarker(point, name, addre...

how to add tabs to infowindow which uses extInfoWindows for google map

I have the following code to display the info window on the google map when marker is clicked how can i add tabs to the infowindows which is using extinfowindows ,can anyone help to trace out the problem. function createMarker(point, name, address, imagepath) { var marker = new GMarker(point, gicons[imagepath]); var html1 = '<sp...

Google map (v3) infowindow opening on the same marker all the time...

I create several Gmarkers (from JSON data loaded by JQuery "load" function), on all of them I add an event listener to open the infowindow object I created before on the marker, and then I add them all to the map. The issue is that the infowindow always opens on the same marker. I all had this working before, i can't see where the prob...

How to change the background color of GInfoWindowTab

I have the follwing code to display tabbed infowindow but i am not able to change the background color of tabs function createMarker(point, name, address, imagepath, imagelocation) { var marker = new GMarker(point, gicons[imagepath]); var image1 = imagelocation.replace(/\\/g, "/"); var m1 = image1.slice(60, 80); ...

Is there any way to maxime an InfoWindow in Google Maps v3

The old (v2) version of Google Maps API allowed infowindows to be maximized (see this example) but I can't find any equivalent feature in v3. The same happens with tabbed infowindows too (they aren't supported anymore). Is there any way to do that (even with a plugin)? ...