The purpose of this thesis is to present the use of an application programming interface and Javascript libraries in creating a web application that shows satellite images with an interactive map. The theoretical part of the thesis presents the basic web technologies which are important for understanding the functioning of the application, starting with HTML language, which is the main element of every webpage, and CSS stylesheet language used to determine the style of a web page. The most important elements are the Javascript Programming Language and jQuery library. The use of the application programming interface is first presented theoretically and then practically together with the Javascript language. Furthermore, the thesis presents the company Urthecast, which offers access to satellite images, and provides insight into the use of their application programming interface. We use Leaflet library to create a web map. The Leaflet library is described in detail together with some practical examples from documentation. The thesis also contains a comparison with the Mapox library, which is a similar and competitive library used for creating web maps. The practical part puts all the above technologies in practice. Every one of them is described in terms of how it fits into the final application. Another important element of the second part is the use of AJAX functions, which serve as communication between the application and the application programming interface. The thesis could be perceived as a detailed manual with additional instructions covering the very basics of different technologies and concepts as well as concretisation of the final application.
|