On Feb 18, 11:38 am, Ash <[email protected]> wrote: > Hello > > Everhything is working properly except point no 4 issue and Marker > Icon are not coming as per the condition. If I click on red marker > icon, thne in minimap red marker should come, everytime yellow icon is > coming. > > Any Idea
baseIcon is global. The last marker is "Low" (with a yellow icon), so baseIcon ends up with a yellow icon when the infoWindow is opened sometime later. You need to get function closure on it as well (or use some variable on which you have function closure to determine it dynamically). -- Larry > > On Feb 18, 2:03 pm, Ash <[email protected]> wrote: > > > > > Hello > > > Point No 3 is also resolved. I changed api version from 2 to 2.100, > > now I am not getting any error, but My image is not dispalying. Plase > > advise > > > On Feb 18, 1:51 pm, Ash <[email protected]> wrote: > > > > I try to debug Point 3, it is redirecting me to > > > TransientScriptDocument0.js on google site > > > > and giving error on following line > > > > function Uj(a){var b;while(b=a.firstChild){Tj(b);a.removeChild(b)}} > > > > Please advse > > > > On Feb 18, 1:38 pm, Ash <[email protected]> wrote: > > > > > Andrew and Larry > > > > > Thanks for response. I did following modification > > > > > a. Change the position of <Body> tag > > > > b. var baseIcon = new GIcon(G_DEFAULT_ICON); > > > > c. Modified the XML as some of the marker are null or having character > > > > with latitude and longitude > > > > d. change the position of followig functions > > > > show("High"); > > > > show("Medium"); > > > > show("Low"); > > > > > As your suggestion, I modifed page and xml and re-uploaded again Now > > > > point 1 and point 3 Issue has been resolved. > > > > > I am still facing same problem as I mentioned above in point 2, Please > > > > let me know how do I resolve this and display map in second tab. > > > > > As far as point 4, I mean to say whenever I close tabbed window, page > > > > should be re-load or set , as it was loaded first time. > > > > > Andrew, can you suggest me an GXml google map sample > > > > > Regards > > > > > Ash > > > > > On Feb 18, 1:13 pm, "[email protected]" <[email protected]> > > > > wrote: > > > > > > On Feb 18, 9:41 am, Ash <[email protected]> wrote: > > > > > > > Hello > > > > > > > I have used 2 samples and clubbed in 1 page. I am trying to display > > > > > > various information on 2 tabs and image on second tab. > > > > > > > My url ishttp://www.kgfassociates.com/myindex.html > > > > > > > I am having following issues > > > > > > > 1. Whenever I load/refresh page, it give me an error "Invalid > > > > > > Argument" on Line 24 > > > > > > Your xml contains invalid points, like this one: > > > > > <marker Latitude="N" Longitude="W" Severity="High" City="Medford" > > > > > State="OK" Description="No Description" html="Severity - High<br>City > > > > > - Medford<br>State - OK" /> > > > > > > > 2. Once I click No, all marker placed properly, but whenever I > > > > > > clicked > > > > > > any marker it give me error "Object required" on line 310. Once I > > > > > > click on No, it opens tabbed window. But on location page, my > > > > > > minimap > > > > > > is not displaying. > > > > > > 3. On this page I have given, but it is not firing automatically. > > > > > > show("High"); > > > > > > show("Medium"); > > > > > > show("Low"); > > > > > > gmarkers.length is zero, so the show function doesn't do anything. > > > > > > > 4. Once I close the tab window, I want page should be set as it was > > > > > > loaded properly > > > > > > I don't know what that means. > > > > > > > Please advise > > > > > > fix your > > > > > htmlhttp://validator.w3.org/check?uri=http%3A%2F%2Fwww.kgfassociates.com%... > > > > > > -- Larry- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- 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 -~----------~----~----~----~------~----~------~--~---
