When creating the marker, you say:

position = initialLocation()

This would suggest that initialLocation is a method you're trying to call. 
But looking at the code above, initialLocation is already your 
google.maps.LatLng object, so it would have to be

position = initialLocation

(so just the field name, without the braces). Try this, I don't know if 
there are any other errors but this is the first thing I noticed. If it 
still shouldn't work, I think many readers here (including me) would be 
happy to see a link to your website. This simplifies the bug-finding process 
:-)

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

Reply via email to