On Oct 29, 5:40 pm, djgang <[EMAIL PROTECTED]> wrote: > Hi Larry, > > Are you able to load all the markers using my kml file everytime you > refresh ?? > > I want to be clear with word "refresh". > > Are you reloading the whole page or are you refreshing the content in > the map without reloading the whole page? > Because, when I do a page refresh it loads perfectly as it is fetching > the data freshly from the server. But when I am trying to refresh just > the markers by clearing the overlays and adding the overlay back, i am > not able to see all the markers. >
I was reloading the page. I modified this example from Mike Williams' tutorial: http://econym.org.uk/gmap/example_geoxml.htm to load your KML. When I click the hide button then the show button, I get javascript errors (and not all the markers show...). The way that page is set up, once that happens, I can't "show" the overlay again. If I change it so that I recreate the overlay when the "show" button is clicked, it shows some markers. I removed the ScreenOverlay from your kml file, I no longer get errors on the subsequent loads... -- Larry > > On Oct 29, 4:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > On Oct 29, 3:07 pm, djgang <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I dont think its a problem with our server. > > > It is very much similar to the one of the map samples that you have on > > > the website. > > > >http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/ggeoxml_loader2... > > > > Here I am sending the link to my kml file. > > > I tried loading the kml file on that sample webpage. when I turn the > > > checkbox off and on again, then the whole data wouldn't show up. > > > So I think its a problem with the ggeoxml or something. > > > I suspect a problem with that example. It seems to always load all > > the markers when I use my own page to load your kml with GGeoXml. > > > -- Larry > > > > here is the link to my kml > > > file.http://www.public.asu.edu/~skgangar/data.kml > > > > Copy paste the above link in the map sample webpage. You will then see > > > few markers. > > > But when you turn off and turn back in the userlayer check box .. You > > > will not see every marker loading. > > > I dont understand why it is not loading the kml properly > > > > especially the second time. > > > > Please help, > > > > Thankyou very much, > > > > Sashi G > > > > On Oct 28, 3:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > On Oct 28, 3:09 pm, djgang <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I am developing an interface for google maps for our company. > > > > > we place objects (markers as of now) on the map. > > > > > > I am using GGeoXml to load the kml file which has these points . > > > > > > My kml file essentially places points on the map by fetching the > > > > > longitude and latitude values from the database. > > > > > > After adding a few points by clicking on the map. I use a button to > > > > > make my points appear on the screen. > > > > > I am trying to clear the overlay and then add the overlay. > > > > > > when ever I am clicking this button, not every point appears on the > > > > > map. If I click again some other points show up. so each time it > > > > > shows just a few points but not every point. > > > > > > I also have my company logo as an overlay. Even this overlay doesnot > > > > > show up on the map when i click the button. But I am able to see all > > > > > the points when I refresh the whole page. > > > > > > I tried various functions such as map.loadedCorrectly etc... but > > > > > nothing seems to work. > > > > > > Please help. > > > > > How? Please read and follow the posting guidelines and post a link to > > > > a map that shows the problem you are > > > > having:http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > > > > > From you symptoms, it sounds like there is a problem with the server > > > > code, not the API. > > > > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
