[OpenLayers-Trac] [OpenLayers] #522: Fix createDiv() functions

OpenLayers trac at openlayers.org
Thu Mar 8 13:16:29 EST 2007


#522: Fix createDiv() functions
---------------------+------------------------------------------------------
 Reporter:  euzuro   |       Owner:     
     Type:  task     |      Status:  new
 Priority:  minor    |   Milestone:     
Component:  general  |     Version:  SVN
 Keywords:           |  
---------------------+------------------------------------------------------
 make new functions for createDiv(), etc which dont take 3000 arguments but
 instead an options hash.

 ie  instead of:
 {{{
    var boo = util.createDiv("divid", size, null, null, null, 35, null,
 null, "none");
 }}}
 etc.... we do:
 {{{
    var boo = util.createDiv({ 'id': "divid", 'size': size, 'x': 35,
 'display': "none");
 }}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/522>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list