I didn't look at your code in detail, but that setTimeout call jumped out at
me. It doesn't do what you expect. It calls getLocation(theAddress)
*immediately*, not after the timer expires. If you want to make that call
when the timer expires, it would look like this:
setTimeout( function() {
getLocation( theAddress );
}, hold );
But that can't be right either. Look at your definition of getLocation:
function getLocation( theName, theAddress, thePhoneNumber, theWebsite ){ ...
}
So which is it? One argument or four? :-)
-Mike
On Tue, Mar 22, 2011 at 5:03 PM, hcDave <[email protected]> wrote:
> Hi All,
> I am trying to create a tool which will allow me to feed in an XML file and
> have it place pins and information pop-ups associated with those pins on the
> map.
>
> IE is currently telling me that 'files.0' is null or not an object on line
> 66, while FireFox via FireBug is clearly showing that it is... but if you
> continue with FIreFox it crashes after returning from
> window.setTimeout(getLocation(theAddress), hold); on line 94. If you step
> into the code after line 94 via FireBug it ends up the addDomListenerOnce
> class, which is what makes me think this might be something this forum can
> assist with...
>
> Here's a link to the page with the offending code:
> http://www.msrh-partners.com/RADD/address-locator.php
>
> I've also attached all files associated with this tool.
>
> Any help is most appreciated as this is an URGENT mater for me! And thanks
> in advance!
> Dave.
>
> P.S. if I've missed anything, or you have any questions, please let me
> know....
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.