[OpenLayers-Users] Re: IE problem with adding GML layers... Firefox works perfect

chris243 chris24300 at hotmail.com
Wed Apr 13 14:42:57 EDT 2011


Ahh correction:  I step in again and brought me to the OL code, heres the
activate function

[code]
// in here: OpenLayers.Strategy.Fixed =
OpenLayers.Class(OpenLayers.Strategy, {

activate: function() { // around line 10200
        if(OpenLayers.Strategy.prototype.activate.apply(this, arguments)) {
            this.layer.events.on({
                "refresh": this.load,
                scope: this
            });
            if(this.layer.visibility == true || this.preload) {
                this.load();
            } else {
                this.layer.events.on({
                    "visibilitychanged": this.load,
                    scope: this
                });
            }
            return true;
        }
        return false;
    },
[/code]

IE will crash on the activate.apply call.  But...
http://msdn.microsoft.com/en-us/library/4zc42wh1%28v=vs.94%29.aspx

I don't get what's going on here... 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/IE-problem-with-adding-GML-layers-Firefox-works-perfect-tp6245838p6270174.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list