This is great! You are the best! Did you get my message about this? Not sure - anyways . . .
When take the code you used and post it to the site as the index page, I get 2 errors: http://vciregionmap.com/ Line 32 - Uncaught SyntaxError: Unexpected token Line 114 - Uncaught ReferenceError: initialize is not defined Any idea why this is? And how would I display the windows like I had them with all the formatting and URL for images. Like this: http://vciregionmap.com/index_bk2.html - I am assuming I would need to add Lat/Long to my table and change the reference to yours, to point to mine? Any help would be GREATLY appreciated On Aug 13, 6:39 pm, "[email protected]" <[email protected]> wrote: > On Aug 13, 2:44 pm, "[email protected]" <[email protected]> > wrote: > > > > > > > > > > > On Aug 13, 2:28 pm, "[email protected]" <[email protected]> > > wrote: > > > On Aug 13, 2:04 pm, "[email protected]" <[email protected]> > > > wrote: > > > > On Aug 12, 5:04 pm, chris m <[email protected]> wrote: > > > > > > Hi - > > > > > > I am looking to have a list of links in HTML and a HTML select box/ > > > > > form that updates the locations center and zoom level based on what is > > > > > clicked / selected. I have looked at many things domListener and the > > > > > like and be it as I am a noob, and not awesome with JS, I am having > > > > > issues getting this done. > > > > > > For an example check out the legend in this > > > > > samplehttp://www.vciregionmap.com > > > > > There is not enough information in your FusionTable to center and zoom > > > > on the different districts. I think you need to include the > > > > geographic coordinates of the addresses, I don't think you can use the > > > > automatically geocoded addresses, > > > > > The way I know to do it is: > > > > 1. change the query to only show the desired region, > > > > example:http://www.geocodezip.com/www_vciregionmap_comA.html > > > > (note: I couldn't make it work with spaces in the column names, I > > > > changed your column names to not have spaces) > > > > 2. Do a gviz query of the table to get the coordinates of all the > > > > markers in that district > > > > 3. add all the coordinates (as google.maps.LatLng's) to a > > > > google.maps.LatLngBounds > > > > 4. Do map.fitBounds on that LatLngBounds object. > > Like this:http://www.geocodezip.com/www_vciregionmap_comC.html > (warning, I used the spreadsheet geocoder to geocode the addresses, > and don't know that they are correct, but this is the functionality I > was talking about) > > -- Larry > > > > > > > > > > Another option would be to calculate (or determine manually) the > > > desired center location and zoom for each "District" and store that in > > > the table so you can retrieve it with a query. > > > Or hard code them in the map, like District 78, 83 and 84 > > here:http://www.geocodezip.com/www_vciregionmap_comB.html > > > -- Larry > > > > > > Thanks!' > > > > > > Chris -- 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.
