I am working on a map application that will loop through a table and push markers into a map based on the latitudes and longitudes in the table (I have this part working). Also I'm generating info windows for the pins as well (this is sort of working, just not behaving how I want it to). I want the script to run whenever the table's contents changes based on ajax calls to the database (I'm using a proximity search function in the Drupal CMS). I am have a couple of problem and questions. I think that the easiest way to figure to figure out if I'm heading in the right direction for what I want to do is to communicate all the desired functionality of the script. I want it to loop through and get the lat and longs from the table and push pins into the map and zoom and pan to fit the markers in the view. I want the user to be able to click on a table row and have the assiciated pin's info window open. I would like the user to be able to hover over the pins and have the associated table row highlight. I'm thinking maybe I should push the pins one at a time (as opposed to how I'm doing it now) and assign each pin a css class and give the corresponding rows the same classes to achieve the hover effect? Here is where the code resides, you can see what I have so far in action and please let me know if I'm starting out in the wrong direction: www.axtsweapons.com/maptest.html. Thanks!
-- 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.
