Thank you for taking the time to read this through.

following is supposed to be a little tool to pin our employees and
customers on a map.
The original data comes from an excel file, where the users will
filter and copy paste into a textarea on the website.
for convenience (both yours and mine) i've predefined some...

viewable on: http://users.telenet.be/anniedewilde/Ben/goitsm.html
(it will be a html file on a nework share at the office)

my problem:
when hitting the button, in most browsers (firefox, safari, chrome)
it works, but IE gives me nothing but:
line: 183  Char: 142
Error: 'wa' is null or not an object


If I comment the following block of code (line 85-88):
geocoder.getLatLng(address,
        function(point) {
                var mymarker = createMarker(point, color, html);
        }
);
the page doesn't throw an error, but off course, doesn't do a lot.
(viewable on 
http://users.telenet.be/anniedewilde/Ben/goitsmwithoutgetlatlng.html)



Alternatively, i can comment the setTimeout line and skip the timeout,
like this:
http://users.telenet.be/anniedewilde/Ben/goitsmwithoutsetTimeout.html
but this starts giving problems when the amount of data increases, up
to max 300 people.
(The timeoutvalue used to be 200 ms, but I changed it as a debugging
thing. I left it since I didn't really know which one you'd prefer)

I can't pregeocode these addresses because I can't alter the excel the
data is coming from.
To avoid overwhelming requests to be sent to the geocoder, I wanted to
use that timeout to control how fast the dots are displayed on the
map.
But users will be using IE...

I've seen a few examples using the setTimeout, so it's defenately
something I did wrong.
I just can't seem to find it...

I'm hoping that the structure of the code is in order, i started
working from an example on the internet somewhere, but by now I've
lost track of my changes.

Thank you for your time.

Kind regards,
Ben

btw.
winXP sp3
IE 7.0.5730.11
Firefox 3.0.4
Chrome 2.0.172.33
Safari 4 (528.17)

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