Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Google Maps API Question

Google Maps API Question
Thread Tools
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Jul 9, 2007, 06:34 PM
 
I'm working on a project using the Google maps API, and I'm having a small issue with getting the info windows for markers to work properly. Basically, there are a bunch of markers (about 152 right now) on the map, and each one has an info window that shows up in a bubble when you click it. One of the things in that info window is a text box and button so that you can put in your address and get directions to the place the marker is marking. Unfortunately, when you click in the text box the bubble closes. I'm not entirely sure why that is, but I'm guessing it has something to do with the way I'm declaring my event listener (code below). Does anyone have any ideas or hints?

code:

GEvent.addListener(marker, 'click', function() {
marker.openInfoWindowTabsHtml(infoTabs);
});
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Jul 9, 2007, 06:35 PM
 
[Edit: Argh! The problem has spontaneously re-appeared!]
(Last edited by nonhuman; Jul 10, 2007 at 02:05 PM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:30 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2