[OpenLayers-Users] Problem in Internet Explorer

Chris Hardin chrislhardin at gmail.com
Wed Sep 12 09:41:27 EDT 2007


I don't know the source, I havn't managed to trace it back to where it
is coming from. Only happens in IE and it is intermittent, sometimes
it happens and sometimes it doesn't.


On 9/12/07, Tyler Durden <tylersticky at gmail.com> wrote:
> You are right Christopher.
> I'm using jquery $(document).ready(function() {} and seems that won't
> work, with <body initMap()> works.
>
> Thanks,
> Tyler
>
> On 9/11/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> > On Tue, Sep 11, 2007 at 05:56:51PM +0100, Tyler Durden wrote:
> > > I've got a javascript error on Internet Explorer on line 50 in the
> > > file OpenLayers/Renderer/VML.js:
> > >
> > > /**
> > >      * @returns Whether or not the browser supports the VML renderer
> > >      * @type Boolean
> > >      */
> > >     supported: function() {
> > >         var supported = document.namespaces;
> > >         return supported;
> > >     },
> > >
> > > I'm using the trunk version.
> > > Any ideas?
> >
> > My first guess is that you're attempting to start using the OpenLayers
> > code before the document is fully loaded. Although most of OpenLayers
> > will work that way, we advise against it, and it won't work with VML in
> > OpenLayers.
> >
> > Is this possible? If you don't think so, could you provide HTML which is
> > causing the problem?
> >
> > Regards,
> > --
> > Christopher Schmidt
> > MetaCarta
> >
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>


-- 
Chris Hardin
Software Architect
Archetype Corporation



More information about the Users mailing list