I appreciate the lesson, I've just been beating my head against the wall for 4 weeks now trying to make this look just right. I tried playing with the code after what you said before your last post, but had no luck in the past 24 hours. I guess I've grown impatient within the past few weeks with this.
If you would like to give me some advice for my next two questions, it would be greatly appreciated. I will try my hardest to figure it out on my own without any copying or pasting. My questions are a.) Is it possible to list all the results on one page, or atleast replace the "more results" link with a "next" link so I can view coordinates of all results rather than just the first 4 pages? b.) This isn't exactly a google api question, but looking at my page, can you tell me why the latlong div is centered while the info div is aligned properly?? This has really brought some confusion to my table. Again, any help is appreciated. Thanks again for all the help so far. On Jul 22, 12:39 pm, Rossko <[email protected]> wrote: > > Thank you very much for your help. When I remove the + from the +=, it > > only lists 1 coordinate at a time. Is there a way I can fix this? > > Put it back. Where before you had > document.getElementById("latlong").innerHTML += > (markerLatLng.toUrlValue() + "<br/>"); > > you still want > document.getElementById("latlong").innerHTML += > (markerLatLng.toUrlValue() + "<br/>"); > > Do not alter, amend or move it in any way. > > > Also, where would I put the map.clearOverlays();? > > Exactly where it was before. I pointed it out to you as an good place > to also clear the textual div if you thought about what the > clearOverlays() did and why, a landmark if you like. Why would you > want to alter it or move it. To spell it out, where you had one line > - > map.clearOverlays(); > you should add another, so that it looks like - > map.clearOverlays(); > document.getElementById("latlong").innerHTML = "" ; > instead. > > I've been trying not to write this for you because you said wanted to > be more familiar with javascript. Learn by doing ; understand what > code does before changing things, if a change doesn't do what you > expect go back and look at it again. Copy/paste teaches you nothing. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
