I'm surprised that the myclick() function location is a problem. It works in the example. I'll move them and see what happens. As for the complicated polys, there's nothing I can do. The data are what they are and I have to load them as-is. Can I load the polys out of a kml file (using the standard method for kml data) and then load points, without the icons, using this method for the sidebar? Am I going to run into problems with the info windows opening using a click listener on the sidebar and the built-in function for the polys on the map?
On Jul 29, 5:39 pm, Rossko <ros...@culzean.clara.co.uk> wrote: > > The sidebar entries do nothing when you click them > > They call for a function myclick() that isn't available. Do you not > see the javascript error in your browser? > myclick() was defined once, but within the load() function. When load > () finished, myclick() ceased to exist too. You'll want to define it > in global scope instead - outside of any other function. > > > The polylines do nothing when you click them and > > Well, no. When you write your own XML/KML parser you have to write > code to make those things happen e.g. put a click listener on each > poly. > > > The file, for only having two of the 104 polys I eventually need to > > have load, is painfully slow. > > There are a lot of coordinates, perhaps you could simplify. > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---