On Sep 11, 10:49 pm, "Sundaravalli Nainar" <[EMAIL PROTECTED]> wrote: > Thanks,I have included the code in my website and it works well.Now my > problem is the Map,Satellite,Hybrid button controls is not shown in > the map.What should I do to make it visible?
You could try the documentation: http://code.google.com/apis/maps/documentation/reference.html#GMapTypeControl > Zooming and panning options are > there in the map. > > On Thu, Sep 11, 2008 at 8:14 PM, Barry Hunter > <[EMAIL PROTECTED]>wrote: > > > > > > > geoXml2 = new GGeoXml("http://www.easwar.sitesled.com/sample2.kml"); > > map.addOverlay(geoXml2); > > > at the most basic level. > > > On Thu, Sep 11, 2008 at 3:16 PM, Sundaravalli Nainar > > <[EMAIL PROTECTED]> wrote: > > > I have used the following code to add one kml file which is working good > > in > > > my website.Now how should I add to include more kml files(i.e.layers) > > in the > > > same google map in my website > > > > var map; > > > var geoXml; > > > > function initialize() { > > > if (GBrowserIsCompatible()) { > > > geoXml = new GGeoXml("http://www.easwar.sitesled.com/sample1.kml > > "); > > > map = new GMap2(document.getElementById("map_canvas")); > > > map.setCenter(new GLatLng(7.2854554,5.441256), 7); > > > map.addControl(new GLargeMapControl()); > > > map.addControl(new GLargeMapControl()); > > > map.addOverlay(geoXml); > > > } > > > } > > > > On Thu, Sep 11, 2008 at 4:18 PM, Barry Hunter < > > [EMAIL PROTECTED]> > > > wrote: > > > >> You can either create a 'container' KML file that contains network > > >> links to each file, and hten load that. The main disadvantage is that > > >> there is a limit to the number features per layer - and you are more > > >> likly to hit the limit. > > > >> Or just have multiple GGeoXML layers and add them all to the map. > > > >> (assumbing you using GGeoXML of course) > > > >> On Thu, Sep 11, 2008 at 10:11 AM, Valli <[EMAIL PROTECTED]> > > wrote: > > > >> > I have overlayed kml files in google map in my website. I am having > > >> > kml files for each layer(i.e. roads,point data,boundary,etc) > > >> > separately. Now I want to put all the layers in one kml file and > > >> > overlay it in google map in my website.Can anyone help me in doing > > >> > this? > > > >> -- > > >> Barry > > > >> -www.nearby.org.uk-www.geograph.org.uk- > > > -- > > Barry > > > -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
