To whom it may concern,

I am a developer and webmaster of Kent Feeds and we are implementing a
Google Maps Dealer Locator into our site.  To do this, I attempted to
use Pamela Fox’s tutorial and could not get it working for my needs.

Now, after a couple of months and some further looking into it, I have
fixed my code so that it works perfectly in IE8, but in Firefox, it
fails.  Also, I have attempted this using Mac OSX and Windows XP Sp2
and it works in IE8 on both, fails in Firefox on both.

How it fails is that it only draws one marker directly over the zip
code that I entered so it's not even drawing it in the right spot and
I know that there are more markers to be drawn as well.  It only lists
a single dealer, when IE draws exactly the right amount of markers
needed with zero problems whatsoever.

Here is a link:

http://www.evergreenmills.com/dealerlocator.php

The setup that I am using for this is like such;  I use PHP to resolve
the zip code and radius from the form (if there is no input, I set
them to defaults hence why it loads a 20 mile radius outside of
Oklahoma City) then I execute the Google Maps Javascript code, which I
have built in a JSON request using jQuery to contact another PHP
script and execute a query into our dealer database.  This query then
returns the results and draws them onto the map with the proper
sidebar entries being created.  Again, this works PERFECT in IE8, but
not Firefox.  I would expect the opposite to happen…

I’m looking for any help at all with this.  There is no need for me to
supply any source code on this as the only thing you can't see from a
'View Source' is my PHP and all it does is take the zipcode and radius
then query it against our dealer database, puts it into an array and
then json_encodes itself.  The PHP has to be working properly because
I can at least get the info for one dealer up there, so I'm guessing
the problem is with exploding the array in the for loop in
Javascript?  I really don't know.

Thank you in advance for your time!

Mike Smith
Webmaster
Kent Feeds, Inc.

P.S.  I've also read some articles that suggest the problem could be
with add-ons in Firefox.  I only have 3 add-ons (none of which are
Skype) and I turned them all off, but the script still bugs out.  I'm
lost here.  I really appreciate any help at all.

--~--~---------~--~----~------------~-------~--~----~
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