You are right it did work but I also had something wrong with my KML file. Thanks
On Apr 29, 12:26 pm, Ed Boes <[email protected]> wrote: > I did try that but I only get one file (kml2) to show up. > > On Apr 29, 9:08 am, Barry Hunter <[email protected]> wrote: > > > > > Thats not the code in your webpage, it has > > > var kml = new GGeoXml("http://niraengineers.com/map/harr_sanmh.kml", > > "http://niraengineers.com/map/harr_sanpipe.kml"); > > > which is not going to work... > > > The code you posted below should work, try it :) > > > On 29 April 2010 13:44, Ed Boes <[email protected]> wrote: > > > > I have two kml files that I would like to add to my google map, one > > > file represents sanitary sewer manholes and the other sanitary sewer > > > pipes. I can only get one to show up. My code is below: > > > > var kml = new GGeoXml("http://niraengineers.com/map/harr_sanmh.kml"); > > > var kml2 = new GGeoXml("http://niraengineers.com/map/ > > > harr_sanpipe.kml"); > > > map.addOverlay(kml); > > > map.addOverlay(kml2); > > > > My website: map.niraengineers.com > > > > -- > > > 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 > > > athttp://groups.google.com/group/google-maps-api?hl=en. > > > -- > > Barry > > > -www.nearby.org.uk-www.geograph.org.uk- > > > -- > > 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 > > athttp://groups.google.com/group/google-maps-api?hl=en. > > -- > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
