On Jun 10, 11:58 pm, mototips <jambo.thomp...@gmail.com> wrote: > Now I am just very confused... My new updated code is still not > working but i am so lost at this point i really dont know what to > say...
A good start would be to stop posting huge code dumps, the link to the page that exhibits the problem is much better. -- Larry > > You can view that there is no marker > shownhttp://www.mototips.com/sample/sample.htmlhttp://www.mototips.com/sample/<< > shows a marker just not the custom > one... But the sample.html code has come much further then this > orginal.... > > I need this explained to me like i am a newbie. > Thank you every one for your help so far and your help in the future. > Look forward to hearing from you all :) > > On Jun 10, 11:42 pm, Mike Williams <nos...@econym.demon.co.uk> wrote: > > > You have two functions with the same name. The one that actually gets > > executed (in Firefox) is this one: > > > function createMarker(point,html) { > > var marker = new GMarker(point); > > GEvent.addListener(marker, "click", function() { > > marker.openInfoWindowHtml(html); > > }); > > return marker; > > } > > > Note also that your other createMarker function expects to be passed > > three arguments, and it doesn't return a reference to the marker, and > > it's out of scope when you make the call > > var marker = createMarker(point,htmlString); > > > -- > > 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 Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---