In Control.js:
/**
* @constructor
*
* @param {Object} options
*/
initialize: function (options) {
// We do this before the extend so that instances can override
// className in options.
this.displayClass = this.CLASS_NAME.replace("OpenLayers.",
"ol").replace(".","");
OpenLayers.Util.extend(this, options);
this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
},
the replace only replaces the first period. Better would be something like
this:
this.displayClass = this.CLASS_NAME.replace("OpenLayers.",
"ol").replace(/\./g,"");
Regards,
Glen
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev