[OpenLayers-Trac] [OpenLayers] #710: Install instructions unclear

OpenLayers trac at openlayers.org
Fri May 18 10:52:21 EDT 2007


#710: Install instructions unclear
----------------------------+-----------------------------------------------
  Reporter:  openlayers     |       Owner:         
      Type:  bug            |      Status:  new    
  Priority:  minor          |   Milestone:         
 Component:  documentation  |     Version:  SVN    
Resolution:                 |    Keywords:  install
----------------------------+-----------------------------------------------
Comment (by openlayers):

 Replying to [comment:2 crschmidt]:
 > There are two subdirectories you need:
 >
 >  theme/
 >  img/
 >
 > If you're using the single file version, these must be in the same
 directory as OpenLayers.js.

 I want to use the single-file version. I am trying to optimize for load
 speed at the client.

 Well, starting from a fresh directory, but still using the SVN checkout
 mentioned above...
 {{{
 $ pwd
 /var/www/html/maps

 $cp ~/openlayers/build/OpenLayers.js ./
 $cp -R ~/openlayers/theme ./
 $cp -R ~/openlayers/img ./

 $grep OpenLayers.js testme.php
    <script src="/maps/OpenLayers.js"></script>

 }}}

 And it works - thank you. I will put an extra comment in below to replace
 the misleading directions I originally cited. If you want it as a patch, I
 have subscribed to the dev list now, so you'll see me in there. Post a
 request. Frankly, I think you'll be faster to copy and paste :-).

-- 
Ticket URL: <http://trac.openlayers.org/ticket/710#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list