Mike, Thank you very much, try removing that line and it's work. It also more faster than before.
PS. read tutorial in your website is very useful. On Nov 21, 3:51 am, Mike Williams <[email protected]> wrote: > Wasn't it Woodyz who wrote: > > >Mike, > >I tried removing the lines you've told me, the map was not loaded. > >I looked at Error console from Firefox, it said "c is undefined" > >It seems that I have to give MapCenter and ZoomLevel everytime before > >requesting KML, which I don't know these values. > > Oops, you also need to not create a new map each time you load the KML. > > Try also removing the second and third occurrence of > map = new GMap2(document.getElementById("map")); > > Or perhaps replace then by map.clearOverlays() if you want the old KML > to be removed. > > -- > Mike Williamshttp://econym.org.uk/gmap -- 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=.
