I made all of those changes (and moved the code to the top since it's
easier to read/change) and it's still not working. :(

I have to add 3 of these maps in too.

On Dec 3, 12:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Dec 3, 10:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Dec 3, 10:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Dec 3, 10:10 am, nmmxchick <[EMAIL PROTECTED]> wrote:
>
> > > > So I'm trying to put 3 maps up on our page and the embedded iframes
> > > > don't show the pushpin so I went with an API but that map won't show
> > > > at all.
>
> > > > Here is the page I'm trying to use API maps for:
>
> > > >http://www.cleanroomconsumables.com/value-tek-contact_bak3.asp
>
> > > > The first one is the API I used, the others are just embedded but
> > > > don't show the pushpin.
>
> > > > I'll take either at this point.
>
> > > IE6 gives me an error:
> > > Line:305
> > > Char: 67
> > > Error: Expected ')'
>
> > > you seem to have an extra line feed between ! and =.
>
> > What is this supposed to do?
> > <body addEvent('load',initialize); addEvent('unload',GUnload); >
> > (I suspect it does nothing, which would be why no map shows up and you
> > don't get errors)
>
> > also 33.458536,111.973811 is in China...
>
> > I get 33.465607,-111.974033 for 1005 N 50th Street Phoenix, AZ 85008
>
> > Suggestions:
> > 1. move the api include to the head of the document
> > (this line <script src="http://maps.google.com/maps?
> > file=api&amp;v=2&amp;key=...)
> > 2. change your <body> tag to: <body onunload="GUnload()">
> > 3. change this (at the bottom, just before the </body> tag):
> > <script type="text/javascript">
> >     //<![CDATA[
> >     function load() {
> >       if (GBrowserIsCompatible()) {
> >         var map = new GMap2(document.getElementById("map1"));
> > map.setCenter(new GLatLng(33.458536, 111.973811), 13);      }    }
> >                 function addEvent(a,b,c){
> >  if(window.addEventListener){window.addEventListener(a,b,typeof(c)!
> > ='undefined'?c:0);}
> >  else if(window.attachEvent){window.attachEvent('on'+a,b);}
> >  else{window['on'+a]=b;}
>
> > }    </script>
>
> > to:
> > <script type="text/javascript">
> >     //<![CDATA[
> >       if (GBrowserIsCompatible()) {
> >         var map = new GMap2(document.getElementById("map1"));
> >         var point =  new GLatLng(33.465607,-111.974033);
> >         var marker = new GMarker(point);
> >         map.setCenter(point, 13);
>
> // you might even want to add the marker to the map:
>         map.addOverlay(marker);
>
>
>
> >       }
> >     //]]>
> > </script>
>
> >   -- Larry- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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