make setting the map a function call. this way we can intercept and tag on event handlers.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@528 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-06-06 15:50:15 +00:00
parent bad9a0307e
commit e53e339c09
2 changed files with 8 additions and 1 deletions

View File

@@ -43,6 +43,13 @@ OpenLayers.Layer.prototype = {
return;
},
/**
* @param {OpenLayers.Map} map
*/
setMap: function(map) {
this.map = map;
},
/**
* @return {bool}
*/