Web-mapping is used everywhere since GoogleMaps and GoogleEarth revolutionized our topographical and geographical perception. Keeping that in mind it is useful to get some insights in web-mapping possibilities.
sudo apt-get install libjs-openlayers libjs-openlayers-doc
But for a real minimal example you will only need 2 files in a folder: the openlayers.js and a index.html file.
You can download the file here: FILE. The openlayers.js should be donwloaded directly at openlayers.org. Store the file besides the js-file on an accessible folder on your webspace and of you go with the classic “iframe”:
Don’t be afraid of this open source package as the documentation is written very nice!