On Jul 13, 6:56 pm, "[email protected]" <[email protected]> wrote: > On Jul 13, 5:08 pm, Ivan <[email protected]> wrote:> Hello, > > > So I used the googlespreadsheetwizard to populate my map...worked > > great! Then walked myself through examples, tutorials, etc. to create > > a dropdown select box that queries myspreadsheetand displays the > > selected markers. > > > Now my problem...my polygons are coded right into the map and I would > > like to be able to toggle them on/off and have them clickable to > > display my tabs in a manner identical to my markers. I'm unclear if I > > should just paste thepolygoncoding in aspreadsheetcell, and if so, > > how I would call them from the map and be able to query through > > them. > > > Any help would be appreciated. > > There have been posts in this group in the past about toggling > polygons (or polylines, but they are similar), you could search the > group for them. > > I would suggest doing something similar to what you do with the > markers (use a createPolygon function for function closure to > associate the click listener, push them onto an array for easy > processing), you don't have to put them in thespreadsheetunless you > are going to add more or it makes it easier for you. > > -- Larry > > > > > > > Link (note: the map has nothing to do w/ the website, it's merely used > > to test): > > >http://smbrc.e-ffectiveweb.com/ > > > Thanks.- Hide quoted text - > > - Show quoted text -
Thanks Larry, That will definitely get me started in the right direction. One hitch I am having though - I will need to utilize the spreadsheet because I will be continuously adding info. The issue is I'm a little confused how to format the info in the spreadsheet and how to call it out (i.e. do the points need to be encoded or can i just use a series of latlng coordinates (-118.38247451548,34.02023832393557)). Also, does the info need to be parsed? A firm shove in the right direction would be a big help. -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
