Hi Ross K, Thanks for the tip on error proofing the lat long click event.
Yes, there is supposed to be map data from a WMS at: http://sdmdataaccess.nrcs.usda.gov/Spatial/SDM.wms? I have created a KML from the WMS and have added it with GeoXML, but the data does not show up on the map. Lara On Apr 22, 11:47 am, Rossko <[email protected]> wrote: > > Still troubleshooting, here is my > > page:http://www.tchdgis.org/googlemaps/EHservicenplcycle.html > > I can see markers and coloured polygons with a sidebar in IE6 and FF2 > - is there supposed to be something else? > > Clicking a coloured poly results in an error - your map click listener > assumes there is always a latlng for a click, and there isn't if an > overlay was clicked. Test for the existence of a latlng before trying > to use it. > GEvent.addListener(map, 'click', function(overlay, latlng) { > if (latlng) { .... > } // else an overlay was clicked > > 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 [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 -~----------~----~----~----~------~----~------~--~---
