Hey Andrew,
Well, I'll be!  I fixed it such that it's all using version 2 code and
it works...no more GMap2 or GUnload error in the javascript.  One
question though...this isn't for a mobile app, so what should my meta
tag be?  Do I even need that tag in there?

Thanks for your help!

Cheers
Scott

On Dec 5, 5:32 pm, Andrew Leach <[email protected]> wrote:
> On Dec 5, 6:35 pm, Scott Kustes <[email protected]> wrote:
>
> > Hi,
> > I am working on my first Google Maps app.  Basically trying to put
> > some markers on a map based on a user search.  You can see it 
> > at:http://bodyfitburn.com/fitnessdirectory/directory/.  I've been
> > searching around zip code 40216.
>
> > My problem is that when I search (by zip code...the other two fields
> > aren't in use yet), I'm getting "GMap2isnotdefined" in both FF
> > 3.5.5 and IE6.  It looks like my map isdefined, since it shows up on
> > the page in both, so I'm confused.  The debugger is pointing me to the
> > function "setMapMarkers" (I can post the code here if you prefer, but
> > probably easier to just get to it from the source code).
>
> This scripthttp://maps.google.com/maps/api/js
> is the Version 3 script, which doesn't supportGMap2. A lot of your
> code is Version 3 code, referencing things like
> google.maps.MapTypeId.ROADMAP, so it appears to be deliberate.
>
> As you also have <meta name="viewport"...> it looks like you are
> developing a mobile application for which Version 3 is appropriate.
>
> There another problem too: your PHP is wrong and produces invalid
> output. We can't help with server-side code, but perhaps you have
> white-space outside the <php directive. 
> Seehttp://bodyfitburn.com/fitnessdirectory/functions/ajax_calls/create_s...
>
> Andrew

--

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