On Aug 2, 10:13 pm, Tom P <tom1.pe...@gmail.com> wrote: > Hi, > > I have the following snippet from within the code to display the > marker but it doesn't seem to display anything > > var driverLat = 52.252803; > var driverLong = -0.786896; > > var driverLatlng = new google.maps.LatLng(driverLat + “,” + > driverLong);
Why would you expect that to work? What arguments does a google.maps.LatLng take? It looks to me like you are giving it a string. What does your debugger tell you? -- Larry > > var marker = new google.maps.Marker({ position: > driverLatlng, map: map, title:”Driver > Location!” > }); > > On Aug 2, 10:42 pm, "geocode...@gmail.com" <geocode...@gmail.com> > wrote: > > > On Aug 2, 11:15 am, Tom P <tom1.pe...@gmail.com> wrote: > > > > I am displaying directions within a map and would also like to add an > > > additional marker onto the maps. Currently the marker code doesn't > > > display anything on top of the original maps. > > > > The code below show what I currently have, does anyone have any ideas? > > > Post a link to your map so we can run a debugger on it? > > > But I don't see anything in your code which would add any markers "on > > top of directions". Perhaps you could add your best try at that > > before posting the link. > > > -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.