On Jan 5, 10:57 am, "[email protected]" <[email protected]>
wrote:
> On Jan 5, 10:04 am, BMC <[email protected]> wrote:
>
> > Can anybody help me with my code or let me know if I've gone in the
> > complete wrong direction with it?
> > Thanks
>
> >http://www.miracleparkplace.com/index/pinMAPgallery.htm
>
> When creating a google maps API page make sure your html is valid.
> You have multiple <html>, body and head tags, your DOCTYPE declaration
> is not the first thing in the file.  Make sure you only have one of
> each (I think that is why you aren't getting a map, at least I don't
> see one in IE).

If I do that and fix the obvious javascipt errors here:
    var sites = [

    ['Alamo Ranch', 29.477054,-98.7356355, 7,<h3 align='left'>Alamo
Ranch</h3><div align='left'><p>4522 Albert Martin<br />City of San
Antonio<br />San Antonio, Texas 78251<br />],

    pins[0] = new google.maps.LatLng(28.9324595,-97.0283383);
    ['Pinaccle Point Apartments', 28.9324595,-97.0283383, 7,<h3
align='left'>Pinnacle Point Apartments</h3><div align='left'><p>702
Salem<br />Pinnacle Point Apartments<br />Victoria, Texas 77904<br /
>],


];

I get a map with 2 markers.
You will also need to make your "pins" array global, if it is used
anywhere (it is currently local to your initialize function).

  -- Larry



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

Reply via email to