Installation guide
58
7. OpenLayers “Installation”
In fact you do not have to install OpenLayers. Download Latest stable release vision [.zip] from official OpenLayers
http://trac.osgeo.org/openlayers/wiki/HowToDownload. When you unzip it you will see many folders and files, but you
just have to focus on two folders (img and theme) and one .jr file (OpenLayers). Copy them into C:\code, as it is shown in
the figure below.
Index the particular OpenLayers routing in the JavaScript when you independently use OpenLayers. For example:
<script type='text/javascript' src='OpenLayers.js'></script>.
Or you do nothing but use an absolute path of a URL for indexing to OpenLayers.org hosts where the script files locates:
<script type='text/javascirpt' src='http://openlayers.org/api/OpenLayers.js'></script>.