[OpenLayers-Trac] [OpenLayers] #2947: allow custom jsfiles array

OpenLayers trac-20090302 at openlayers.org
Tue Nov 23 15:39:18 EST 2010

#2947: allow custom jsfiles array
 Reporter:  erilem   |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  general  |     Version:  2.10        
 Keywords:           |       State:              
 To reduce the loading time of the lib during development and testing it
 would be good to be able to provide a custom {{{jsfiles}}} array.

 Example :

     <script type="text/javascript">
         window.__OpenLayersJsFiles = new Array(
     <script src="../lib/OpenLayers.js"></script>

 In this example the {{{OpenLayers.js}}} script will load two additional
 scripts only, {{{Util.js}}} and {{{BaseTypes.js}}}.

 Patch to come.

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

More information about the Trac mailing list