Hi Adam: Allow me to suggest that is better to implement in Joomla backend a CRUD to store lat & lng in MySQL. Using intensively the Geocoder like you do throws a lot of OVER_QUERY_LIMIT errors because you're making a request for every marker to the geocoder API.
Hope this helps. Martin On 24 mayo, 15:31, Pil <[email protected]> wrote: > Seems you want the v2 behaviour back so that only one infowindow may > be opened. > > If you want that, one possibility would be to define your infowindow > in global scope. Before an infowindow is opened you may call > > infowindow.close(); > > Then get its new content and open only the appropriate one > > infowindow.setContent("your new content"); > infowindow.open(map, marker); > > On May 24, 7:10 pm, Adam <[email protected]> wrote: > > > > > Hi, I'm currently working on:http://test.durham.nh.us/(deleteparenthesis' > > and what's in here) > > index.php?option=com_maps&Itemid=58 > > > The program does the following (you can prob. skip the part): > > grabs a list of businesses from a MySQL table and adds them to two > > arrays...One array is catbus[categoryname][counter] = individual > > business names. the other is busfield[name][fields]. Each time the > > drop down list is changed the map is initialized again (this is bad > > but I don't know how to clear and delete markers any other way) the > > addresses of each business are geocoded and placed on the map. and a > > side list is made. > > > Problem: I can't figure out how to close already open infoboxes. Do I > > have to loop through an array of open one's? if so...how do I do that. > > > To view the problem in action go to the link and select something like > > "Business Services" from the drop down. Click on multiple items and > > you will see each individual box will remain open. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
