Getting started with OpenLayers ############################### `OpenLayers `_ OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles and markers loaded from any source. MetaCarta developed the initial version of OpenLayers and gave it to the public to further the use of geographic information of all kinds. OpenLayers is completely free, Open Source JavaScript, released under a BSD-style License. Since HSLayers is trying to be build *on-top-of* OpenLayers, you have to understand it's concept, in order to be able to work with HSLayers. Let's have simple HTML example (the source is `01_map.html <../_static/01_map.html>`_): .. literalinclude:: ../_static/01_map.html :language: html :linenos: :lines: 1-4,23-28 You see, there is function :func:`init`, which is to be called, *on load* of the page. Let's define the function: .. literalinclude:: ../_static/01_map.html :language: javascript :linenos: :lines: 5-21 And you should see `the map <../_static/01_map.html>`_. .. toctree:: map layers controls editing events rests