On Feb 6, 8:42 am, rmiller <[email protected]> wrote:
> I've fixed all the errors I had on my map.
>
> Please go to youthministrynow.com/map/map.html
>
> You'll see an easy example of a store locator using php/mysql.
>
> I've also added Client Geocoding through the AJAX API.
>
> What I would like to have happen is for the client geocode script to
> run and then use that information and use it in searching store
> locations near that client geocode.
>

Then call the searchLocationsNear function on load with the argument
from the client geocode (after checking that it is valid...).

BTW - I still get an error on that page (in IE6):
Line: 30
Char: 7
Error: 'latlng' is undefined.


  -- Larry



>
> On Feb 4, 2:38 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Feb 4, 1:26 pm, rmiller <[email protected]> wrote:
>
> > > I've fixed my code. I accidentally uploaded a wrong file and didn't
> > > check.
>
> > > And yes, I do want to geolocate based on IP address. I'm not concerned
> > > about street level viewing. All I want is a general area where store's
> > > might be located.
>
> > The map is centered on my approximate location.  I do get errors
> > though:
> > FF:
> > Error: load is not defined
> > Source File:http://youthministrynow.com/map/map.html
> > Line: 1
>
> > IE6:
> > Line: 114
> > Error: Object expected
> > (same error)
>
> > The MS Script debugger says that is this line:
> > body onload="load()" onunload="GUnload()">
>
> > Do you expect there to be a load() function somewhere?
>
> > If I enter a zip code and click on "Search Locations", I get the
> > error:
> > Line: 38
> > Error: 'geocoder' is undefined
>
> > You don't seem to be creating a geocoder object.
>
> >   -- Larry
>
> > > On Feb 3, 12:54 am, igloo <[email protected]> wrote:
>
> > > > Just a comment.
>
> > > > Is geolocating the client IP address going to do the job you want it
> > > > to? Many ISPs acting as gateways, use IP addresses that all resolve
> > > > down to the ISP headquarters. For instance, my IP address will turn up
> > > > to be located in a big city on the coast. Whereas my actual location
> > > > is 50kms away inland with my 'local' shopping community another 50 kms
> > > > further inland!
>
> > > > Similarly, some of the big ISPs can use and reuse IP addresses for
> > > > 1000s of their clients all around the country.- 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