On Jun 8, 1:50 pm, tony <[email protected]> wrote:
> I am just a beginner trying to embed Google maps on my website. I
> followed the example, but the image of the push pin does not show.
> Here is a link to my code:http://www.gosolivitahomes.com/map.html.
> Can anyone help?
You should learn how to see your javascript errors. I get:
Line: 14
Error: 'latlng' is undefined
That is because the latlng defined here:
function initialize() {
var latlng = new google.maps.LatLng(28.1278, -81.49);
is local to the initialize function. The code that defines the marker
should probably be inside the initialize function as well since it
requires the "map" exist, and uses that value.
-- Larry
>
> Thanks,
> Tony
--
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 [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-js-api-v3?hl=en.