// the following works var cs = new OpenLayers.Control.Scale(); cs.div = document.getElementById("scale"); this.map.addControl(cs);
// The following also works this.map.addControl(new OpenLayers.Control.MousePosition({div: document.getElementById("coords")})); // The following does not work. Why? this.map.addControl(new OpenLayers.Control.Scale({div: document.getElementById("scale")})); -- Puneet Kishor _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users