[OpenLayers-Users] OpenLayers 2.9 Release Candidate 1

Rui Lima openlayers at mail.com
Thu Apr 1 09:43:29 EDT 2010


Figure it out :D

//OpenLayers.Layer.Google = OpenLayers.Class(OpenLayers.Layer.Google, {
//    setMap: function(map) {
//        OpenLayers.Layer.EventPane.prototype.setMap.apply(this,
arguments);
//        if (this.type != null) {
//            this.mapObject.setMapType(this.type);
//            this.map.events.register("moveend", this, this.setMapType);
//        }
//    }
//});

I had the up code in some extensions javascript file. :( I don't even
remember why, maybe some testing code.

Then i was getting ->  Error: 'OpenLayers.Layer.Google.cache' is null or not
an object
But comment the up code and now it's fine :D

Seems smooth going to 2.9rc1.
-- 
View this message in context: http://n2.nabble.com/OpenLayers-2-9-Release-Candidate-1-tp4805148p4837138.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list