> I am displaying directions using the following code but when I try to
> add a marker this doesn't display them.

Appears to be v3 API code, v3 group is over here
   http://groups.google.com/group/google-maps-js-api-v3/

> The marker is trying to be displayed by
>
> var marker = new google.maps.Marker({
>       position: markerLatlng,

Can't see in your code where markerLatlng gets assigned a value.
Your 'map' object doesn't appear to be in global scope, which will
cause a problem.
Probably best if you give a link to your problem map in the other
group.

-- 
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.

Reply via email to